Following is a list of commits (fixes/features only) in this release. See `:help news` in Nvim for release notes. FEATURES -------------------------------------------------------------------------------- -693772100ehelp: gx opens help tag in web browser (#35784) -f9cad88d5avimscript: log function name in "fast" message #32616 PERFORMANCE -------------------------------------------------------------------------------- -4c8486e1f2scheduler priority clamping on macOS #35488 -0f6a180bccapi: reduce redundant `win_find_tabpage` calls (#35643) FIXES -------------------------------------------------------------------------------- -4e4428dee8vim.lsp.omnifunc should not throw away other items #35346 -f2fb46ef9eapi: nvim_open_win default to half-size for splits (#36088) -479bb9cbabapi: nvim_open_win respects requested split window size (#35601) -5aa6257e8capi: win_set_config error message for splitting from a float #35650 -66b8018b06channel: closing socket with pending writes leaks memory (#36400) -3237f634facjson: fix `strbuf_set_length` incorrectness #35565 -95cc67538bclipboard: avoid using stale register width (#36178) -d31953d532diagnostics: extend conversion support from/to quickfix format (#34006) -7304fc275eexcmd: :trust executed even when inside false condition (#36032) -0e1c83fae2filetype: handle invalid `bufnr` in _getlines(), _getline() #36272 -86b2c0f201float: crash from nasty :fclose autocmds (#36137) -d8a7c86e73health: errors in :checkhealth with pyenv-virtualenv #35865 -8e00534b1ehealth: hard fail on invalid "python-*" bin #35382 -2668a46902lsp: "attempt to index nil config" #36189 -21540d21calsp: _get_workspace_folders does not handle root_dir() function (#36141) -14e74d98fdlsp: misleading logs in non-applicable filetypes #35749 -a7eb110098lsp: noisy log message when enabling server without config #36264 -eb4837206alsp: restore Client:stop() force-stopping behavior (#35800) -556d8d0002lsp: treat 2-triggers-at-once as "last char wins" #35435 -7b1ac2080dlua: don't leak handle when vim._watch.watch() fails (#35768) -c84ba83cf1options: increase t_Co buffer size (#35859) -7aea000343paste: don't use :echo immediately before :redraw (#35773) -47f6f21998plines: count 'showbreak' in EOL inline virt_text in line size (#35921) -4338eea269rpc: handle more cases when identifying loopback #36100 -d399ed310esocket: avoid stack-use-after-return after timeout (#36405) -4cc060bf44statusline: redraw if Visual selection other end changes (#36281) -7f5427b857terminal: add various missing redraws -d78d5cf1aaterminal: adjust marks when deleting scrollback lines (#36294) -f3f6705075terminal: avoid events messing up topline of focused terminal -8c5bc4920aterminal: avoid tailed cursor in focused terminal in events -934d28558dterminal: check size when creating new tabpage -e67fec1541terminal: deleting from wrong buffer (#36289) -e4db5edb8aterminal: don't trigger TextChangedT for unrelated redraws -854b319060terminal: handle OSC 8 split into multiple fragments -a6d8f40b64terminal: keep last cursor if it's on the last row -46d68e5290terminal: patch various autocommand-related holes -5ee9e3f258terminal: possibly wrong wrow/wcol in active terminal -b21ec366b9terminal: remove condition that buf is curbuf (#33721) -2eea65fe68terminal: update winopts and focus when switching terminals -169dc60a44terminal: wrong row in TermRequest with full scrollback (#36298) -8f05fdbfb3tests: ignore vector math types -924a8e4238tui: don't wait for DA1 response when stdin is closed (#35745) -07184aa973tui: handle sequence larger than entire buffer -1c8805e3b2vim.json: fix truncation of decoded numbers outside lua_Integer's range #35702 -8c311386c3window: don't add a hsep when out of room if global stl is off VIM PATCHES -------------------------------------------------------------------------------- -dd79bc8360014c731: runtime(doc): make :h virtcol() more accurate (#35976) -c2a3838ab28.1.0636: line2byte() gives wrong values with text properties -a0dac399d08.1.1681: insert stray "{" when listener gets buffer line -d573ffcfc78.1.1700: listener callback called for the wrong buffer -7159a0192b8.1.1711: listener callback called at the wrong moment -b6dd8bbca08.1.2008: error for invalid range when using listener and undo -03f9df81178.2.0115: byte2line() does not work correctly with text properties -d1a0d0889b8.2.0844: text properties crossing lines not handled correctly -9b5545103e8.2.0853: ml_delete() often called with FALSE argument -c8912d73298.2.3348: line2byte() returns wrong value after adding textprop -b0ed4a3cb88.2.3795: too many #ifdefs -e4bbe09dcc8.2.4379: an empty change is reported to a listener -5c6ea43da880981e1: runtime(doc): mention 'findfunc' at :h :find (#35697) -8634a461659.1.0689: [security]: buffer-overflow in do_search() with 'rightleft' -a839200c0a9.1.0695: tests: test_crash leaves Untitled file around -61aab4cfe09.1.0698: tests: "Untitled" file not removed when running Test_crash1_3 alone -85e4503f189.1.1754: :helptags doesn't skip examples with syntax -77fe01f2009.1.1773: Crash in BufLeave after BufUnload closes other windows (#35830) -7e724dfa2f9.1.1780: mbyte contains overlapping list of utf_classes table (#35869) -4db62d96bc9.1.1798: Wrong display with 'sms' and long wrapped virt text at EOL (#35930) -9c099830689.1.1802: 'nowrap' in a modeline may hide malicious code (#35946) -67688ab6169.1.1807: :set doesn't clear local insecure flag like :setlocal does -6dda8e95729.1.1808: Option insecure flags not copied when splitting window -ac48d9c3c99.1.1823: diff: w_topline may be invalidated (#36018) -e1fe0ed2df9.1.1831: stray vseps in right-most 'winfixwidth' window -d21c23b8c99.1.1836: 'culopt' "screenline" not redrawn with line("w0") and :retab -aab8134f879.1.1839: Window may have wrong height if resized from another tabpage (#36093) -ad172eb7629.1.1858: v:register not reset after Visual mode command (#36215) -a4319015ee9.1.1868: v:register is wrong in v_: command (#36238) -8928ede8af9.1.1870: :Tutor may not work as expected (#36343) -1b27d8f4289.1.1871: Wrong 'showcmd' in the cmdwin (#36320) -a2d4a0fda99.1.1885: Wrong restored cursor pos when re-entering buffer after changes -7790dca2eb9.1.1891: g<End> does not move to last non-blank in visual mode (#36354) -88ff561dcc9.1.1893: ICCF charity will dissolve (#36427) -19d58cb2cca0f37db: runtime(doc): use a single pattern in :h 'incsearch' example (#35721) -8ed1ef1377partial:9.0.0323: using common name in tests leads to flaky tests CI -------------------------------------------------------------------------------- -e415fae42eWindows arm64 packages #35345
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.
