BREAKING CHANGES:fdd5178581
#18986 introduce $NVIM, unset $NVIM_LISTEN_ADDRESS VIM PATCHES: git log --oneline --grep "vim-patch" v0.7.0..v0.7.1 FEATURES:0b8faccade
#18440 feat(api): add `group_name` to `nvim_get_autocmds`b7a5278249
#18440 feat(api): add `group_name` to `nvim_get_autocmds`9e5cef945a
#18264 feat(tui): query terminal for CSI u support FIXES:b477afa3ea
#1908871e2c49b17
refactor(tests): introduce testprg()175892fa37
#15913 fix: make_filter_cmd for :! powershellf2b465232d
#18331 fix(lsp): make sure to always reset active codelens refreshesb3d754ccd7
#18869 fix(lsp): fix multi client handling in code actione820c6d7c3
#19069cf9c097f34
fix(api): check for inclusive buffer line index out of bounds correctlya05da1c05a
#1905317299b302c
fix(input): use correct grid when restoring cursor for <expr> mapping7266150eff
#1902540e13c8d95
#19010 fix(decorations): nvim_buf_set_extmark breaks conceal38928b5cc2
#1902318e0d64666
fix(tui): fix piping output make nvim unusablecd7ac0eb29
#19014433f3067a0
fix: use ctermbg/fg instead of bg/fg when use_rgb is false30ae06c8fe
#19009777d415da8
fix(highlight): let winhighlight use cursorf70e0832b1
#18981 fix(hl): return cterm fg/bg even if they match Normalee210b0f74
fix(hl): DRY set_hl_group() sg_attr set512a8197c8
test(hl): Add Normal group set_hl/get_hl_by_name check79ca64a1ef
#18024) fix(hl): set Normal hl group sg_attr value (fixes2ebc76b226
#1900141709831ae
fix(startup): nvim with --clean should not load user rpluginsed9e6d19ab
#18990 fix(treesitter): new iter if folded05ce04e994
#18984fe42dea674
#18976 fix(lua): highlight.on_yank can close timer in twicef15d6094fc
#18824 fix(lua): stop pending highlight.on_yank timer, if any5243cb8a4b
#18975bf4df2a629
fix(ui): do not call showmode() when setting window height3cea4d6de9
#1894205f6883ee2
fix(buffer): disable buffer-updates before removing buffer from window1dba6cf8f0
#189180c9d666205
fix(input): fix macro recording with ALT and special keyfc4e4b38b2
#18905bd3bb128c0
test(ts): skip test if C parser is not availabled317cb2322
#188861496f4212b
fix(input): allow Ctrl-C to interrupt a recursive mapping even if mapped0dc5bcd072
#186803a1e8ef881
#18617 fix(autocmds): separate command from desccb1b4bbeae
#18655 fix(lsp): only send diagnostics from current buffer in code_action()01d0d2ce64
#18517 build(deps): bump Luv to HEAD - c51e7052ef3ffb73b18
#18612 fix(health): return 0 if file not exists496e786cad
#185340377973769
fix(runtime/genvimvim): omit s[ubstitute] from vimCommand35075dcc22
#18469 fix(lsp): fix unnecessary buffers being added on empty diagnostics9e040acfa3
#18468 fix(lsp): unify progress message handlinge28799f2d8
#18436 fix: display global statusline correctly with ext_messages1e28068d0d
#18415 fix: ensure has() does not change v:shell_error203b088d75
#18411 build(deps): bump LuaJIT to HEAD - 91bc6b8ade502e8106a
#18400 fix(treesitter): bump match limit up7567d2195a
#18390d165289055
fix(lsp): add missing bufnr argumentf3587babfd
#18367631393a712
fix(filetype.lua): escape expansion of ~ when used as a pattern08cd391047
#18360 fix(shared): avoid indexing unindexable values in vim.tbl_get()508c8a597e
#18362 fix(ftdetect): source plugins in autogroupffd46b7688
#183512a6198319f
fix(mac): use same $LANG fallback mechanism as Vim8d4fbcb5b1
#18324b80ef0de2f
fix(tui): disable extended keys before exiting alternate screen14a5b6b8d4
#1831289260ea5d6
fix(input): only disable mapped CTRL-C interrupts when getting inputef43e7d1f6
#18298 fix: suppress "is a directory" messages with shortmess 'F'aff05c5730
#18256 fix: show autocmd output when F is in shortmessfa7d8c333f
#18229d916d2f876
#18227 fix(lua): don't mutate opts parameter of vim.keymap.delf7e2ad7915
#18220 fix(treesitter): create new parser if language is not the same as cached parser7f8faac39e
#18205 fix(diagnostic): use nvim_exec_autocmds to trigger DiagnosticChanged3ee089ebf4
#181670f811afc96
fix(tui): update modifyOtherKeys reporting
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, Void 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
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
├─ 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.