Following is a list of commits (fixes/features only) in this release. See `:help news` in Nvim for release notes. BREAKING -------------------------------------------------------------------------------- -c76bbd0a54diagnostics: restore `is_pull` namespace argument #38698 -0a3add979avim.pos: require `buf` param on vim.pos, vim.range #38665 REVERTED CHANGES -------------------------------------------------------------------------------- -5920a1d07f"fix(lsp): only resolve LSP configs once" #38990 BUILD -------------------------------------------------------------------------------- -26bcffda6cgen_char_blob.lua: "bad argument to format" if path contains "%" #39274 FEATURES -------------------------------------------------------------------------------- -e767b4843beditor: ZR performs :restart #38967 -6b86f5520dconnect: filepath completion #38959 -ceaa8b648afiletype: `vim.filetype.inspect()` returns copy of registry -78234f2d54vim.version: add __eq to vim.VersionRange #38881 FIXES -------------------------------------------------------------------------------- -a7214c0719don't make path empty when truncating trailing slashes (#38844) -b3b5674ac7:restart: --listen reusage on windows #39281 -3e0ece4cde:restart: avoid ERR/WRN logging on Windows with --listen (#39287) -eaa8cff0bdapi: expose fg_indexed/bg_indexed in nvim_get_hl (#39240) -8669e34bbaapi: nvim_clear_autocmds() "event" type check -4053141cb3api: nvim_get_hl drops groups defined with link_global #38492 -319c031820channel: fix Ctrl-C handling regression in terminal -ba3de79ccbcmd: ++p, ++edit should match "word" boundary #39146 -c6c348471dcmdline: 'inccommand' preview after setcmdline() #38795 -9e1c542b55cmdline: avoid 'incsearch' recursion after redraw #39303 -4a18c05f87cmdline: avoid Ex-mode NULL cmdline_block event #39043 -e4dc08da1acompletion: update CursorColumn during completion (#39159) -25170ca02ddiagnostic: virtual_lines should anchor at end_lnum, not lnum #38701 -6cb5012e36difftool: ensure standardized locale for diff output parsing #38853 -9966afbc9ddrawline: hang while redrawing diff filler above fold #39219 -1ebb9b16d2eval: crash on some NULL ptr deref #39182 -6ae6cf5d61float: don't unload 'hidden' float buffer with :close! (#39304) -d86d9759e5gf: handle local `file:` URI paths #38915 -11a4a0077chealth: recognize Zig build optimization levels #38804 -36bade7efbhighlight: preserve inherited colors when update=true breaks links #38750 -7ffee0dfbflsp: apply_text_edits causes unwanted BufDelete events #38778 -df726644b8lsp: check filetype registry in health (#38885) -18b1ff81a3lsp: check stale context in hover/signature callback #38724 -fe09c71c34lsp: send didOpen on save to all clients+groups #37454 -34cbfeca9clsp: show CompletionItem.detail in info popup #38904 -6250019537lsp: show_document can't position cursor past EOL in insert-mode #38566 -5907307662lsp: skip codelens refresh redraw for deleted buffer #39193 -9aadbed770lua: make `vim._with()` work with `buf=0` and `win=0` context #39151 -0039785724lua: make vim.deep_equal cycle-safe -53038d2c38lua: not obvious which _meta/ files are generated #39035 -f2a5c90cbcmarks: adjust marks when unloading "nofile" buffer #39118 -a358b9be64message: flush messages before "empty" msg_show #38854 -1b36b75832messages: truncate warning messages only in display (#38901) -f7e3cf127cmove: avoid integer overflow with large 'scrolloff' (#39251) -452a9b895cnormal: pass count to 'keywordprg' as arg1 #38965 -4d4e196447options: default 'titlestring' shows CWD #39233 -6583833ee2pack: GIT_DIR/GIT_WORK_TREE env vars may interfere #39279 -df3d7e36d0pack: make 'stash' call compatible with older Git #38679 -1a5d41a48fpack: more advice for out-of-sync lockfile #38931 -ca0e3818c0pum: crash with 'pumborder' and wide item (#38852) -38be4475c6pum: info float width grows on reselect with 'linebreak' #38680 -eee2d10fd2rpc: trigger UILeave earlier on channel close (#38846) -898ccbc68asmoothscroll: crash when resizing to textoff with showbreak -5ac95da8eastatusline: no window-local highlights for last line 'ruler' #38879 -ffb0ebb752substitute: don't crash with very large count (#39272) -abcc5342eeterminal: do not reflow altscreen on resize #39024 -d3ef77639aterminal: forward streamed bracketed paste properly (#39152) -111c7f434etreesitter: TSNode:id() with NUL byte causes unreliable select() #39134 -2ea9ed32e4treesitter: restore highlighting on 32 bit systems #39091 -c294bc397btui: check background color on resume -b08c289a45ui2: dialog paging is inconsistent #39128 -c6b5eb30deui2: don't dismiss expanded messages for non-typed key #39247 -c6578ea28bvim.filetype: match() fails if g:ft_ignore_pat is not defined #39158 -a15e27fbcfvim.pos: Range:intersect() drops `buf` #38898 VIM PATCHES -------------------------------------------------------------------------------- -27214645f6450895d: runtime(make): fix wrong highlighting with $ inside double quotes (#39177) -891c6c91508.2.2440: documentation based on patches is outdated (#39144) -e203257fff9.2.0331: spellfile: stack buffer overflows in spell file generation (#38948) -8ba79b46019.2.0345: Wrong autoformatting with 'autocomplete' (#39060) -9c112298329.2.0357: [security]: command injection via backticks in tag files (#39102) -51530067479.2.0364: tests: test_smoothscroll_textoff_showbreak() fails -187a34d59b9.2.0380: completion: a few issues in completion code (#39264) -15d824e5d69.2.0385: Integer overflow with "ze" and large 'sidescrolloff' (#39289) -19a54ad964e666597: runtime(doc): make window option description a bit less vague (#39173) -d672f0f494partial:9.2.0348: potential buffer underrun when setting statusline like option (#39063) OTHER -------------------------------------------------------------------------------- -ed47b27ad4feat(api): rename buffer to buf (#38899) -570d8fd128feat(api): rename buffer to buf in retval #39015 -15991abaa7feat(events): trigger MarkSet autocmd in :delmarks (#39218) -b6a3ad3979fix(ui2): ensure msg window is visible after closing tab (#39245) -099489b985refactor: update usages of deprecated "buffer" param #39090 -55d3d1bbebtest(lsp): extract buf/util parts from lsp_spec.lua (#39170)
Neovim is a project that seeks to aggressively refactor Vim in order to:
- Simplify maintenance and encourage contributions
- Split the work between multiple developers
- Enable advanced UIs without modifications to the core
- Maximize extensibility
See the Introduction wiki page and Roadmap for more information.
Features
- Modern GUIs
- API access from any language including C/C++, C#, Clojure, D, Elixir, Go, Haskell, Java/Kotlin, JavaScript/Node.js, Julia, Lisp, Lua, Perl, Python, Racket, Ruby, Rust
- Embedded, scriptable terminal emulator
- Asynchronous job control
- Shared data (shada) among multiple editor instances
- XDG base directories support
- Compatible with most Vim plugins, including Ruby and Python plugins
See :help nvim-features for the full list, and :help news for noteworthy changes in the latest version!
Install from package
Pre-built packages for Windows, macOS, and Linux are found on the Releases page.
Managed packages are in Homebrew, Debian, Ubuntu, Fedora, Arch Linux, Void Linux, Gentoo, and more!
Install from source
See BUILD.md and supported platforms for details.
The build is CMake-based, but a Makefile is provided as a convenience. After installing the dependencies, run the following command.
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
To install to a non-default location:
make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/
make install
CMake hints for inspecting the build:
cmake --build build --target helplists all build targets.build/CMakeCache.txt(orcmake -LAH build/) contains the resolved values of all CMake variables.build/compile_commands.jsonshows the full compiler invocations for each translation unit.
Transitioning from Vim
See :help nvim-from-vim for instructions.
Project layout
├─ cmake/ CMake utils
├─ cmake.config/ CMake defines
├─ cmake.deps/ subproject to fetch and build dependencies (optional)
├─ runtime/ plugins and docs
├─ src/nvim/ application source code (see src/nvim/README.md)
│ ├─ api/ API subsystem
│ ├─ eval/ Vimscript subsystem
│ ├─ event/ event-loop subsystem
│ ├─ generators/ code generation (pre-compilation)
│ ├─ lib/ generic data structures
│ ├─ lua/ Lua subsystem
│ ├─ msgpack_rpc/ RPC subsystem
│ ├─ os/ low-level platform code
│ └─ tui/ built-in UI
└─ test/ tests (see test/README.md)
License
Neovim contributions since b17d96 are licensed under the
Apache 2.0 license, except for contributions copied from Vim (identified by the
vim-patch token). See LICENSE.txt for details.
