No Description

zeertzjq 7e450aa383 vim-patch:b405c79: runtime(vim): set 'comments' based on script type (legacy/Vim9) (#35359) 2 weeks ago
.github 44fdbd6589 Merge pull request #34969 from bfredl/winbuild 2 weeks ago
cmake 092e49d020 build: unset $TMUX when running tests (#34178) 3 months ago
cmake.config 921f8b0df7 fix(build): use correct cmake expression for $<CONFIG> 3 months ago
cmake.deps 77860f5418 build(deps): CMake generation fails when path contains spaces #35332 2 weeks ago
cmake.packaging 318676ad13 ci(release)!: remove backwards compatible releases 7 months ago
contrib 535c2f8658 build(contrib): add zsh completion (#32617) 5 months ago
deps dc6cf3add9 feat(build): build.zig windows support 2 weeks ago
runtime 7e450aa383 vim-patch:b405c79: runtime(vim): set 'comments' based on script type (legacy/Vim9) (#35359) 2 weeks ago
scripts 35be59cc7b vim-patch:9.1.1626: cindent: does not handle compound literals (#35319) 2 weeks ago
src 577f9fa1be vim-patch:9.1.1640: Unicode has deprecated some code-points (#35358) 2 weeks ago
test 577f9fa1be vim-patch:9.1.1640: Unicode has deprecated some code-points (#35358) 2 weeks ago
.cirrus.yml 8117db48ed ci(cirrus): update to freebsd-14-2 6 months ago
.clang-format d561830a52 build: align .clang-format rules with uncrustify config 2 years ago
.clang-tidy 1bf9a07b3e build: slience new clang-tidy warnings #34539 2 months ago
.clangd bcaff309b6 build: disable UnusedIncludes from clangd 1 year ago
.editorconfig f96606371c docs: misc 5 months ago
.emmyrc.json d73f2d9657 build(emmyrc.json): use StyLua formatter in .emmyrc.json #35196 3 weeks ago
.git-blame-ignore-revs 56ae85a33c docs: .git-blame-ignore-revs #26397 1 year ago
.gitattributes 874e214993 fix: remove exec permission from .gitattributes #33140 5 months ago
.gitignore 3268f51d20 fix(build): musl libc build.zig 3 months ago
.luacheckrc a81d2b6703 docs(luv): replace bundled LuaCATS meta files with upstream 3 months ago
.luacov 678a51b1da Lua: vim.validate() 5 years ago
.luarc.json a81d2b6703 docs(luv): replace bundled LuaCATS meta files with upstream 3 months ago
.mailmap 8c5af0eb85 docs: misc (#28837) 1 year ago
.stylua.toml 517f0cc634 build: enable lintlua for scripts/ dir #26391 1 year ago
.stylua2.toml f5b5f2095e refactor(tests): lint decorations_spec, float_spec, multigrid_spec #33274 3 months ago
.styluaignore f5b5f2095e refactor(tests): lint decorations_spec, float_spec, multigrid_spec #33274 3 months ago
BSDmakefile 69fe427df4 feat(lua)!: register_keystroke_callback => on_key 4 years ago
BUILD.md 76a383bb7b docs: "git" is a prerequisite #35315 2 weeks ago
CMakeLists.txt 35af766de6 refactor(lua): use vim.system #34707 1 month ago
CMakePresets.json 6a425e7045 docs: misc 7 months ago
CONTRIBUTING.md 9d5eb3eda5 docs: rename builtin.txt, eval.txt #34212 3 months ago
INSTALL.md 5f8d4a248a feat(provider): detect venv python via "pynvim-python" tool #35273 2 weeks ago
LICENSE.txt ba1cc9e10c vim-patch:69c3493: runtime(doc): clarify license conditions for distributed runtime files 3 months ago
MAINTAIN.md 4367441213 docs: misc 2 months ago
Makefile 3b6084ddf4 fix: type fixes 2 months ago
README.md 44afd07443 docs(tui): rename term.txt, nvim_terminal_emulator.txt #30398 11 months ago
build.zig 442f297c63 refactor(build): remove INCLUDE_GENERATED_DECLARATIONS guards 2 weeks ago
build.zig.zon dc6cf3add9 feat(build): build.zig windows support 2 weeks ago

README.md

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 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.