For notable changes, see runtime/doc/news.txt (or `:help news` in Nvim). Following is a list of fixes/features. FEATURES -------------------------------------------------------------------------------- -db3b856779defaults: map "grt" to LSP type_definition #34663 -ecf5164d2dlsp: pass resolved config to cmd() #34560 -5d0766ddcevim.fs: vim.fs.root() can control priority #34413 FIXES -------------------------------------------------------------------------------- -f2c4305114api: add missing nargs field to user command Lua callbacks #34210 -aa6136f956api: adjust fix for reconfiguring float "relative" (#34287) -6889f9168bapi: populate lhsrawalt in nvim_get_keymap response -0d66963089api: reconfiguring float "relative" does not clear "win" (#34271) -8d3b7b57c8api: update topline when flushing with nvim__redraw() (#34346) -77eb278adfclipboard: enable cache for function providers #34470 -0613faf596column: missing redraw with virt_lines_leftcol (#34650) -4303337c77diagnostics: validate opts.signs #34565 -902c946bcdeditorconfig: a custom property is treated as a section (#34445) -7b2119dbd9exrc: exrc knows its own location #34638 -7da0c46e1bhealth: bad format() call #34906 -c97ad3cb41health: floating window closes when opening TOC (gO) -68d204462chealth: highlight group conflicts with help #34616 -282f9fb816incsearch: include compsing characters with Ctrl-L -d0a24ea03elsp: _cancel_all_requests() tries to cancel completed requests #34105 -4621527f59lsp: add `RequestFailed` error code constant #34645 -1077374380lsp: advertise supported fold kinds (#34461) -0f1cada0f7lsp: announce diagnostic tag support (#34436) -ff8acfffd2lsp: include client ID when receiving unknown fold kind (#34535) -c13eba5254lsp: only auto-detach lsp.config enabled clients #34325 -ea8db9003blsp: use correct deprecation function (#34518) -f7b1b0595dmenu: fix listing of submenus (#34315) -adf31505d8messages: make swapfile attention message part of prompt (#34414) -89959ab9dcmessages: recognize cmdline one_key/number prompt State (#34206) -ec84c8df0emsgpack: flush incomplete big UI event before packing RPC event -d9c10ea753redraw: update curswant for Visual selection (#34241) -388b559848runtime: no conceal in qf on :lopen #34854 -d9b9514e8estartup: make startup windows if there are only floating windows (#34349) -ef68eae09aterm: terminal attr index may exceed TERM_ATTRS_MAX #34318 -c4a760c734terminal: don't disable scrolloff for non-terminal buffers (#34451) -36c6f488e4terminal: fix OSC 8 parsing (#34424) -68677eb477terminal: stack overflow when too many csi args (#34012) -3d5be364bctreesitter: enable a gc for wasmtime -a80bdf0d9btreesitter: ensure TSLuaTree is always immutable -07d9197840treesitter: ensure TSNode's tree is immutable -7184230e94treesitter: ensure window is valid in async parsing #34385 -8183eb32e1treesitter: scope highlight state per window -dfeec113betreesitter: support multiple `@injection.content` captures -70b4e7948ftui: avoid memory leak and compiler warning on Windows (#34225) -6f8efea940tui: check for title support correctly (#34866) -43804477catui: don't crash when nvim__screenshot() is called with bad path (#34594) -0eec4a8ecctui: wait for embedded server's exit code -bfcf541a9etutor: cannot find tutors in pack/*/start/* #34689 -f9f0345ebavim.json: loss of precision on integers >14 digits #34876 -203d4f916dvim.system: clear_env=true gives an invalid env to uv.spawn #33955 -e732cbe36cvim.system: env=nil passes env=nil to uv.spawn -7286e514f2vim.version: vim.VersionRange:has(<prerelease>) (#33324) -742ea00742window: don't enter unfocusable or hidden prevwin (#34486) -e0ddf93bb0windows: don't set window icon on SIGHUP #34260 VIM PATCHES -------------------------------------------------------------------------------- -ae05e0399b0fb6cea: runtime(lua): update 'path' option in filetype plugin #33876 -7ef602d4702323f22: runtime(new-tutor): add chapter two to the interactive tutorial -2d13ae0dd47a734b7: tests: fix typo in comment (after v9.1.1511) -d32a4dd4b09.1.1404: wrong link to Chapter 2 in new-tutor -28531d18f09.1.1421: tests: need a test for the new-style tutor.tutor (#34267) -d28ad6e03f9.1.1450: Session has wrong arglist with :tcd and :arglocal (#34430) -9ffa94b07b9.1.1463: Integer overflow in getmarklist() after linewise operation (#34532) -d5cbc993589.1.1482: scrolling with 'splitkeep' and line() (#34670) -2df746e4e89.1.1506: tests: missing cleanup in Test_search_cmdline_incsearch_highlight() (#34748) -730a5e05999.1.1511: tests: two edit tests change v:testing from 1 to 0 -87ba1d74659.1.1521: completion: pum does not reset scroll pos on reopen with 'noselect' (#34836) -222b3d5021bfeefc4: runtime(doc): clarify the effect of exclusive single char selections (#34289) -9d8c5119e2eb59129: runtime(typescript): remove Fixedgq() function from indent script (#34334)
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 for details.
Vim is Charityware. You can use and copy it as much as you like, but you are
encouraged to make a donation for needy children in Uganda. Please see the
kcc section of the vim docs or visit the ICCF web site, available at these URLs:
https://iccf-holland.org/
https://www.vim.org/iccf/
https://www.iccf.nl/
You can also sponsor the development of Vim. Vim sponsors can vote for
features. The money goes to Uganda anyway.
