BREAKING CHANGES:d83df7f7b5
feat(lua)!: register_keystroke_callback => on_keycd8f6c5fb7
feat(lsp)!: change handler signature #15504 FEATURES:915dda3f96
feat(jobstart): add parameter to close stdin FIXES:f8e0011534
#15732 fix(inccommand): ignore trailing commands only for *previewed* command2132c063af
backport: fix(windowing): positioning of relative floats51d6b26729
#15495 backport: tests(lua/on_yank): assert conditions that fail correctlyf7002337c0
#15482 backport: fix(lua): verify buffer in highlight.on_yank6bda2f56eb
#15454 backport: fix(window.c): win_close from other tabpagebe58ba250e
#15372 backport: fix(autocmd.c): fix conditions in block_autocmds, unblock_autocmdsd0e9a11e39
backport: refactor(sign): include longer sign column option5c42376c15
backport: fix(sign): reset auto sign column with minimum in float win minimal style41f761130e
backport: fix(decorations): crash when :bdelete (extmark_free_all) after clear_namespacecf62554e5a
#15111 backport: fix(:source): copy curbuf lines to memory before sourcing6436100b6e
#14809 backport: fix(:source, nvim_exec): handle Vimscript line continuations917f306666
#15043 backport: test/memory_usage_spec: skip on MacOSa9cca1b050
#14984 backport: fixup(clipboard): Fix error not properly handledae89330ec0
#14982 backport: fix(vim.opt): vimL map string values not trimmed2229e99ef9
#14962 backport: fixup(clipboard): Use case matchingb6b12ea7c3
#15489 fix(man.vim): filetype=man is too eager6f965f41df
build: use RelWithDebInfo build for nightlies, Release for releasesf027c5e1e4
build: update appdata.xml version in release commit8336488ce1
test(treesitter): skip all parsers tests if parsers aren't installed008b83f5a2
Rename stdin to stdin_mode (fixes Windows build) FIXES (LSP):132053c1d2
#15523 backport: fix(lsp): resolve bufnr in buf_is_attacheda265201307
backport: fix(lsp): Ensure human readable errors are printed33000bd9cf
backport: fix(lsp): Ensure users get feedback on references/symbols errors or empty results9f73b7c214
#14954 backport: fix(lsp): correctly check for windows in lsp loggereaa1c47377
#15023 backport: fix(lsp): restore diagnostics extmarks that were moved to the last edit line989ccb8222
#15011 backport: fix(lsp): restore diagnostics extmarks on buffer changes2ae4c96d91
backport: fix(lsp): prevent double <text> for cached plaintext markup7b0ae589f0
feat(lsp): allow root_dir to be nil (#15430) (Mathias Fußenegger)8ec5bc9126
lsp(start_client): Allow passing custom workspaceFolders to the LSP (#15132) (sim)959cf5e53c
fix(lsp): check if buffer is valid in changetracking (#15505) (Jose Alvarez)dc15b3a92c
fix(lsp): avoid ipairs on non-sequential tables (#15059) (Michael Lingelbach)18375c6df6
feat(lsp): improve vim.lsp.util.apply_text_edits (#15561) (hrsh7th)7b1315fe61
feat(lsp): improve logging (#15636) (Michael Lingelbach)
Documentation | Chat | Twitter
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, 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!
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, Gentoo, and more!
Install from source
See the Building Neovim wiki page 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_INSTALL_PREFIX=/full/path/
make install
To inspect the build, these CMake features are useful:
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
├─ ci/ build automation
├─ cmake/ build scripts
├─ runtime/ user plugins/docs
├─ src/nvim/ application source code (see src/nvim/README.md)
│ ├─ api/ API subsystem
│ ├─ eval/ VimL 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
├─ third-party/ CMake subproject to build dependencies
└─ 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:
http://iccf-holland.org/
http://www.vim.org/iccf/
http://www.iccf.nl/
You can also sponsor the development of Vim. Vim sponsors can vote for
features. The money goes to Uganda anyway.