1
0
Fork 0
mirror of https://github.com/neovim/neovim.git synced 2026-03-06 16:00:28 +00:00
Vim-fork focused on extensibility and usability https://neovim.io
Find a file
glepnir d19dc6339d fix(api): nvim_set_hl crashes when url= key is passed
Problem: Calling nvim_set_hl() with url= crashes because it tries to
free arena-owned string memory.

Solution: Remove the bad free and return a validation error instead.
2026-03-06 10:54:28 +01:00
.github ci(cirrus): use parallel functionaltests (#38145) 2026-03-06 10:05:59 +08:00
cmake test: start test runners in Xtest_xdg dir (#37964) 2026-02-20 06:53:33 +08:00
cmake.config build: haiku os support #36639 2025-11-23 09:45:00 -08:00
cmake.deps build(deps): bump luajit to 659a61693 2026-03-04 19:11:58 +01:00
cmake.packaging ci: Windows arm64 packages #35345 2025-08-31 22:35:48 -07:00
contrib docs(dev): fix references to LOG_DEBUG #37825 2026-02-12 04:20:01 -05:00
deps feat(build.zig): add option to use system dependencies 2026-01-13 22:09:03 -05:00
runtime fix(health): improve version check for nightly builds #38147 2026-03-06 07:58:42 +00:00
scripts fix(scripts): collect_typos.lua: show commit message on failure 2026-02-12 13:46:53 +01:00
src fix(api): nvim_set_hl crashes when url= key is passed 2026-03-06 10:54:28 +01:00
test fix(api): nvim_set_hl crashes when url= key is passed 2026-03-06 10:54:28 +01:00
.cirrus.yml ci(cirrus): use parallel functionaltests (#38145) 2026-03-06 10:05:59 +08:00
.clang-format build: align .clang-format rules with uncrustify config 2023-05-28 15:39:43 +02:00
.clang-tidy build: slience some unwanted clang-tidy warnings 2025-12-08 01:42:26 -05:00
.clangd build: disable UnusedIncludes from clangd 2023-11-28 20:22:59 +01:00
.editorconfig fix(editorconfig): use 4 spaces indentation for zig files 2026-01-13 22:09:03 -05:00
.emmyrc.json build(emmyrc.json): use StyLua formatter in .emmyrc.json #35196 2025-08-06 19:52:46 -07:00
.git-blame-ignore-revs docs: .git-blame-ignore-revs #26397 2024-01-28 15:03:10 -08:00
.gitattributes fix: remove exec permission from .gitattributes #33140 2025-03-29 05:30:30 -07:00
.gitignore feat(logging): rename ".nvimlog" => "nvim.log" #37935 2026-02-18 11:58:34 -05:00
.luacheckrc docs(luv): replace bundled LuaCATS meta files with upstream 2025-05-06 18:47:33 +02:00
.luacov build: move shared.lua to _core/ 2025-12-30 01:44:52 -05:00
.luarc.json docs(luv): replace bundled LuaCATS meta files with upstream 2025-05-06 18:47:33 +02:00
.mailmap docs: fix .mailmap entry (#37259) 2026-01-05 16:34:51 -08:00
.stylua.toml build: enable lintlua for scripts/ dir #26391 2023-12-04 12:38:31 -08:00
.stylua2.toml refactor(tests): lint decorations_spec, float_spec, multigrid_spec #33274 2025-05-06 18:00:20 -07:00
.styluaignore refactor(tests): lint decorations_spec, float_spec, multigrid_spec #33274 2025-05-06 18:00:20 -07:00
BSDmakefile feat(lua)!: register_keystroke_callback => on_key 2021-09-09 06:09:33 -07:00
BUILD.md feat(ftplugin): treesitter default highlighting for markdown 2026-02-17 10:35:19 +01:00
build.zig fix(build): build.zig: use luajit for windows 2026-02-23 10:33:06 +01:00
build.zig.zon build(deps): bump tree-sitter-markdown to v0.5.3 2026-02-26 19:26:35 +01:00
CMakeLists.txt ci: lint and format treesitter queries 2026-02-21 13:26:36 +01:00
CMakePresets.json docs: misc 2025-01-11 10:34:12 +01:00
CONTRIBUTING.md ci: lint and format treesitter queries 2026-02-21 13:26:36 +01:00
INSTALL.md feat(ftplugin): treesitter default highlighting for markdown 2026-02-17 10:35:19 +01:00
LICENSE.txt vim-patch:69c3493: runtime(doc): clarify license conditions for distributed runtime files 2025-05-26 17:51:24 +02:00
MAINTAIN.md docs: lsp, options, promptbuf 2026-02-12 13:46:45 +01:00
Makefile build: distclean: remove zig-related dirs #38013 2026-02-23 14:56:41 +00:00
README.md feat(ftplugin): treesitter default highlighting for markdown 2026-02-17 10:35:19 +01:00

Neovim

Documentation | Chat

Coverity Scan analysis Packages Debian CI Downloads

Neovim is a project that seeks to aggressively refactor Vim in order to:

See the Introduction wiki page and Roadmap for more information.

Features

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 (or cmake -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.txt for details.