Following is a list of commits (fixes/features only) in this release. See `:help news` in Nvim for release notes. FEATURES -------------------------------------------------------------------------------- -8a79d3a3bb:restart: reattach all UIs (#38683) FIXES -------------------------------------------------------------------------------- -415626d46d:restart: inherit stderr fd on Unix (#38755) -8b3f3113c4:restart: only pass --headless when there is no UI (#38580) -e5792f6353api: avoid error when parsing invalid expr after :echo (#38695) -6ef5f59be6channel: crash on exit after closing v:stderr channel (#38754) -14ee84e7a5cmdline: redraw cmdline after empty message (#38485) -b2702913b9defaults: check for TUI on non-stdio channel on startup (#38581) -c3e52bb264events: avoid recursive loop_uv_run() from vim.ui_attach() shell message -4bf170d79dhelp: show error when using :help! with nothing at cursor #38775 -c692e848e9lsp: do not respond to codelens refresh if a request is already scheduled (#38801) -2eb14c54bclsp: highlight snippet preview when server can't completionItem/resolve (#38534) -f2764a596dlsp: reset document color processed version on clear (#38582) -8f7cbf6d66lsp: use `winresetview()` to avoid switching to normal mode (#38641) -6cb439ac9enet: handle remote archive URLs via tar/zip browse #38744 -35a9bf8785pack: avoid eager vim.version call #38705 -fdf94493cfpack: use `uv.available_parallelism()` to compute number of threads #38717 -60a24d707ctermkey: use terminfo for (shift+)left/right keys -9f16ad8ca3treesitter: select reset to "v" visualmode() -2d9619fac7treesitter: select with node ending with unicode char (#38557) -d83141c0f2ui2: allow empty argument for enable() #38605 -b924afb36bui2: correct buffer reference in msg:start_timer() (#38600) -131a3cacb3ui2: prevent flicker when entering pager from expanded cmdline (#38662) -bac7c3a996ui2: update spill indicator when appending to expanded cmdline #38715 -dee6d2ad97ui2: vim.on_key should return nil instead of false (#38668) -e7a07364advim.net: check if vim.system's stdout is nil #38713 -32ca1aae88window: clear cmdline 'ruler' when window is closed (#38631) -d660233edfwindows: force console codepage to UTF-8 for shell/system() #38742 PERFORMANCE -------------------------------------------------------------------------------- -3de423eb20vim.pos: use `nvim_buf_line_count` instead of fetching all lines #38686 BUILD -------------------------------------------------------------------------------- -38b5cfc74acmake: allow ignoring deps sha VIM PATCHES -------------------------------------------------------------------------------- -90b4f02b44068c060: runtime(rustfmt): not correctly escaping directory names (#38597) -304c0ac9f912f6f20: runtime(sh): Keep function name patterns engine neutral (#38719) -10bd554c0f82ebaa7: runtime(racket): Make visual K mapping more robust for shell injection (#38677) -c084ab9f579.2.0276: [security]: modeline security bypass (#38657) -04fabbf32d9.2.0277: tests: test_modeline.vim fails (#38672) -3e2ce64f889.2.0280: [security]: path traversal issue in zip.vim (#38693) -58cc2fdc5f9.2.0285: :syn sync grouphere may go beyond end of line (#38727) -bf084967d79.2.0299: runtime(zip): may write using absolute paths (#38810) -a837c906bb9.2.0303: tests: zip plugin tests don't check for warning message properly -c09e82d12a9.2.0304: tests: test for 9.2.0285 doesn't always fail without the fix -dd85c13382runtime file updates (#38659) REFACTOR -------------------------------------------------------------------------------- -49133b4f77typval.c: fix wrong argument to macro (#38813) REVERTED CHANGES -------------------------------------------------------------------------------- -8e490e70ed"fix(scripts): gen_terminfo clears Windows terminfo definitions #36736" -ad0adbb1b2"refactor(process): don't read from PTY master using uv_pipe_t" (#37401)
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.
