Vim-fork focused on extensibility and usability
Go to file
dundargoc 0a598c13b1 feat(vim.deprecate): only issue warning if neovim version is high enough
As specified by MAINTAIN.md, features should be soft deprecated at first
(meaning no warnings) to give people a chance to adjust. The problem
with this approach is that deprecating a feature becomes harder than
usual as during the soft deprecation period you need to remember not to
issue a warning, and during the hard deprecation period you need to
remember to start issuing a warning.

This behavior is only enforced if the `plugin` parameter is `nil` as
plugins may not want this specific behavior.
2023-12-25 21:20:09 +01:00
.github
cmake
cmake.config refactor: run IWYU on entire repo 2023-12-21 17:38:42 +01:00
cmake.deps build(deps): bump luajit to HEAD - c525bcb90 2023-12-24 09:51:10 +01:00
cmake.packaging
contrib build(nix): update flake.lock (#26702) 2023-12-23 00:50:24 +01:00
runtime feat(vim.deprecate): only issue warning if neovim version is high enough 2023-12-25 21:20:09 +01:00
scripts feat: generate types and docs for v variables 2023-12-21 14:19:10 +00:00
src refactor(cpoptions): remove 'p' 2023-12-25 14:13:52 +01:00
test feat(vim.deprecate): only issue warning if neovim version is high enough 2023-12-25 21:20:09 +01:00
.cirrus.yml
.clang-format
.clang-tidy
.clangd
.editorconfig
.git-blame-ignore-revs
.gitattributes feat: generate types and docs for v variables 2023-12-21 14:19:10 +00:00
.gitignore
.luacheckrc
.luacov
.luarc.json
.mailmap
.stylua.toml
.styluaignore
BACKERS.md
BSDmakefile
BUILD.md
CMakeLists.txt
CMakePresets.json
CONTRIBUTING.md
INSTALL.md
LICENSE.txt
MAINTAIN.md
Makefile refactor: run IWYU on entire repo 2023-12-21 17:38:42 +01:00
README.md

Neovim

Documentation | Chat

Coverity Scan analysis Clang 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.