For notable changes, see runtime/doc/news.txt (or `:help news` in Nvim). Following is a list of fixes/features. FEATURES -------------------------------------------------------------------------------- -db3b856779
defaults: map "grt" to LSP type_definition #34663 -ecf5164d2d
lsp: pass resolved config to cmd() #34560 -5d0766ddce
vim.fs: vim.fs.root() can control priority #34413 FIXES -------------------------------------------------------------------------------- -f2c4305114
api: add missing nargs field to user command Lua callbacks #34210 -aa6136f956
api: adjust fix for reconfiguring float "relative" (#34287) -6889f9168b
api: populate lhsrawalt in nvim_get_keymap response -0d66963089
api: reconfiguring float "relative" does not clear "win" (#34271) -8d3b7b57c8
api: update topline when flushing with nvim__redraw() (#34346) -77eb278adf
clipboard: enable cache for function providers #34470 -0613faf596
column: missing redraw with virt_lines_leftcol (#34650) -4303337c77
diagnostics: validate opts.signs #34565 -902c946bcd
editorconfig: a custom property is treated as a section (#34445) -7b2119dbd9
exrc: exrc knows its own location #34638 -7da0c46e1b
health: bad format() call #34906 -c97ad3cb41
health: floating window closes when opening TOC (gO) -68d204462c
health: highlight group conflicts with help #34616 -282f9fb816
incsearch: include compsing characters with Ctrl-L -d0a24ea03e
lsp: _cancel_all_requests() tries to cancel completed requests #34105 -4621527f59
lsp: add `RequestFailed` error code constant #34645 -1077374380
lsp: advertise supported fold kinds (#34461) -0f1cada0f7
lsp: announce diagnostic tag support (#34436) -ff8acfffd2
lsp: include client ID when receiving unknown fold kind (#34535) -c13eba5254
lsp: only auto-detach lsp.config enabled clients #34325 -ea8db9003b
lsp: use correct deprecation function (#34518) -f7b1b0595d
menu: fix listing of submenus (#34315) -adf31505d8
messages: make swapfile attention message part of prompt (#34414) -89959ab9dc
messages: recognize cmdline one_key/number prompt State (#34206) -ec84c8df0e
msgpack: flush incomplete big UI event before packing RPC event -d9c10ea753
redraw: update curswant for Visual selection (#34241) -388b559848
runtime: no conceal in qf on :lopen #34854 -d9b9514e8e
startup: make startup windows if there are only floating windows (#34349) -ef68eae09a
term: terminal attr index may exceed TERM_ATTRS_MAX #34318 -c4a760c734
terminal: don't disable scrolloff for non-terminal buffers (#34451) -36c6f488e4
terminal: fix OSC 8 parsing (#34424) -68677eb477
terminal: stack overflow when too many csi args (#34012) -3d5be364bc
treesitter: enable a gc for wasmtime -a80bdf0d9b
treesitter: ensure TSLuaTree is always immutable -07d9197840
treesitter: ensure TSNode's tree is immutable -7184230e94
treesitter: ensure window is valid in async parsing #34385 -8183eb32e1
treesitter: scope highlight state per window -dfeec113be
treesitter: support multiple `@injection.content` captures -70b4e7948f
tui: avoid memory leak and compiler warning on Windows (#34225) -6f8efea940
tui: check for title support correctly (#34866) -43804477ca
tui: don't crash when nvim__screenshot() is called with bad path (#34594) -0eec4a8ecc
tui: wait for embedded server's exit code -bfcf541a9e
tutor: cannot find tutors in pack/*/start/* #34689 -f9f0345eba
vim.json: loss of precision on integers >14 digits #34876 -203d4f916d
vim.system: clear_env=true gives an invalid env to uv.spawn #33955 -e732cbe36c
vim.system: env=nil passes env=nil to uv.spawn -7286e514f2
vim.version: vim.VersionRange:has(<prerelease>) (#33324) -742ea00742
window: don't enter unfocusable or hidden prevwin (#34486) -e0ddf93bb0
windows: don't set window icon on SIGHUP #34260 VIM PATCHES -------------------------------------------------------------------------------- -ae05e0399b
0fb6cea: runtime(lua): update 'path' option in filetype plugin #33876 -7ef602d470
2323f22: runtime(new-tutor): add chapter two to the interactive tutorial -2d13ae0dd4
7a734b7: tests: fix typo in comment (after v9.1.1511) -d32a4dd4b0
9.1.1404: wrong link to Chapter 2 in new-tutor -28531d18f0
9.1.1421: tests: need a test for the new-style tutor.tutor (#34267) -d28ad6e03f
9.1.1450: Session has wrong arglist with :tcd and :arglocal (#34430) -9ffa94b07b
9.1.1463: Integer overflow in getmarklist() after linewise operation (#34532) -d5cbc99358
9.1.1482: scrolling with 'splitkeep' and line() (#34670) -2df746e4e8
9.1.1506: tests: missing cleanup in Test_search_cmdline_incsearch_highlight() (#34748) -730a5e0599
9.1.1511: tests: two edit tests change v:testing from 1 to 0 -87ba1d7465
9.1.1521: completion: pum does not reset scroll pos on reopen with 'noselect' (#34836) -222b3d5021
bfeefc4: runtime(doc): clarify the effect of exclusive single char selections (#34289) -9d8c5119e2
eb59129: 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 help
lists all build targets.build/CMakeCache.txt
(orcmake -LAH build/
) contains the resolved values of all CMake variables.build/compile_commands.json
shows 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.