暫無描述

bfredl 3eb8d21057 NVIM 0.9.1 1 年之前
.github 9edddceb18 ci: make all linux releases work with same glibc version 2 年之前
cmake 81f2bce775 build: cmake cleanup 2 年之前
cmake.config 7100a80253 build: show build type specific compiler flags when using --version 2 年之前
cmake.deps a090be56bd backport treesitter parser and queries (#23767) 1 年之前
cmake.packaging 9edddceb18 ci: make all linux releases work with same glibc version 2 年之前
contrib cbeedc52eb build(nix): fixed build (#22918) 2 年之前
runtime 7d4bba7aa7 NVIM 0.9.1 1 年之前
scripts 9edddceb18 ci: make all linux releases work with same glibc version 2 年之前
snap fbb27a101f ci: remove former dependencies that are no longer needed (#22301) 2 年之前
src a2bfe4e524 fix(substitute): properly check if preview is needed 1 年之前
test a2bfe4e524 fix(substitute): properly check if preview is needed 1 年之前
.cirrus.yml 19bc7456b8 ci: don't automatically enable -Werror if in CI environment 2 年之前
.clang-format e86901eb68 docs(clang-format): one space in directives indent (#18800) 2 年之前
.clang-tidy 47638706a3 build: treat clang-tidy warnings as errors (#22238) 2 年之前
.clangd 5777fc1b8e Adding clangd language serever config file to point to build/ directory for compile_commands.json 3 年之前
.editorconfig 5f7560b8da build(editorconfig): set indent_size to 4 for python files (#21135) 2 年之前
.git-blame-ignore-revs f3268652ab docs: .git-blame-ignore-revs (#20820) 2 年之前
.gitattributes af23d17388 test: move oldtests to test directory (#22536) 2 年之前
.gitignore 7a44231832 docs(gitignore): correct oldtest path 2 年之前
.luacheckrc 8408405cb3 build(deps): bump luacheck to 1.1.0-1 2 年之前
.luacov 678a51b1da Lua: vim.validate() 5 年之前
.mailmap 5b7213ad7f docs: update .mailmap (#20086) 2 年之前
.stylua.toml aa4f9c5341 refactor(lua): reformat with stylua 0.14.0 (#19264) 2 年之前
.styluaignore 676e9e9334 ci: lint runtime with stylua 3 年之前
BACKERS.md 846fe25111 Update backer URL 9 年之前
BSDmakefile 69fe427df4 feat(lua)!: register_keystroke_callback => on_key 3 年之前
CMakeLists.txt 7d4bba7aa7 NVIM 0.9.1 1 年之前
CMakePresets.json 829d92eca3 revert: "build: enable cmake workflow presets (#21860)" 2 年之前
CONTRIBUTING.md 17ce634b8f build!: rename sanitizer options from CLANG_* to ENABLE_* 2 年之前
LICENSE.txt e5cb3104d0 docs: fix/remove invalid URLs #20647 2 年之前
MAINTAIN.md 799edca18a feat(lua): make sure require'bit' always works, even with PUC lua 5.1 2 年之前
Makefile 829d92eca3 revert: "build: enable cmake workflow presets (#21860)" 2 年之前
README.md 6752f1005d docs: naming conventions, guidelines 2 年之前

README.md

Neovim Documentation | Chat

Coverity Scan analysis Clang analysis PVS-Studio 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 the Building Neovim wiki page 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/         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
└─ 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.