暫無描述

James McCoy 6ec04e590f Merge pull request #19833 from neovim/backport-19826-to-release-0.7 2 年之前
.builds 8ddeac7cf9 ci(openbsd): don't specify versions for dependencies if possible 2 年之前
.github 7eaeb07c1c ci(release): link `gettext` include directory 2 年之前
ci 0e10b17164 ci(provider): skip installing perl provider on macOS 2 年之前
cmake 4e402ae548 build(cmake): fix static `libintl` test on macOS 2 年之前
config 2c8f4d0912 fix: add forkpty for SunOS variants 2 年之前
contrib 5f3fff62a8 chore(flake): bump flake (#17632) 2 年之前
man cfa5d06801 docs(man): omit misleading mention of environment for -u NORC (#16379) 3 年之前
packaging c8c96de310 fix(packaging): remove excess forward slash in Wix Patch (#19485) 2 年之前
runtime 44205fe516 [Backport release-0.7] fix(signs): priority of extmark signs (#19718) (#19721) 2 年之前
scripts 0377973769 fix(runtime/genvimvim): omit s[ubstitute] from vimCommand 2 年之前
snap 192ea01edd cmake: install app icon in XDG hicolor icon theme (#14656) 3 年之前
src a7f4d0a782 revert: "jobstart(): Fix hang on non-executable cwd #9204" 2 年之前
test a7f4d0a782 revert: "jobstart(): Fix hang on non-executable cwd #9204" 2 年之前
third-party 68d2bb4070 [Backport release-0.7] build(macos): use consistent MACOSX_DEPLOYMENT_TARGET (#19435) 2 年之前
unicode 003b8daa8a feat: update unicode tables 2 年之前
.clang-format ac91c56085 chore: align clang-format configuration with clint 2 年之前
.clangd 5777fc1b8e Adding clangd language serever config file to point to build/ directory for compile_commands.json 3 年之前
.editorconfig d2f62b3164 chore(editorconfig): set max_line_length for .h and .in files (#16775) 2 年之前
.flake8 d651710de1 ci: pylint target via flake8 5 年之前
.git-blame-ignore-revs 33909b6564 chore: update .git-blame-ignore-revs 2 年之前
.gitattributes d6f03aaafd fix: include ci/ in exported tarball 3 年之前
.gitignore 991e472881 feat(lua): add api and lua autocmds 2 年之前
.luacheckrc 60d3bb745d fix(filetype): set default ft_ignore_pat in filetype.lua (#16917) 2 年之前
.luacov 678a51b1da Lua: vim.validate() 5 年之前
.mailmap f1d5a2e82d chore: add .mailmap (#17453) 2 年之前
.travis.yml 035d82e0d3 build: update cmake min version to 3.10 #16065 3 年之前
BACKERS.md 846fe25111 Update backer URL 9 年之前
BSDmakefile 69fe427df4 feat(lua)!: register_keystroke_callback => on_key 3 年之前
CMakeLists.txt 68d2bb4070 [Backport release-0.7] build(macos): use consistent MACOSX_DEPLOYMENT_TARGET (#19435) 2 年之前
CONTRIBUTING.md e63e5d1dbd docs: typo fixes (#17859) 2 年之前
LICENSE.txt 087aad3dcd ci: improved cpack packaging 2 年之前
MAINTAIN.md e63e5d1dbd docs: typo fixes (#17859) 2 年之前
Makefile 680970bfbc ci(commitlint): use -u NONE instead of --clean 2 年之前
README.md 72652cbc46 feat(test): use nvim_exec in helpers.source() #16064 2 年之前
codecov.yml 3eb241d831 bundle: move tree-sitter as a bundled dep 4 年之前

README.md

Neovim

Documentation | Chat | Twitter

GitHub CI Codecov coverage Coverity Scan analysis Clang analysis PVS-Studio analysis

Packages Debian CI Downloads nvim

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!

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

├─ ci/              build automation
├─ cmake/           build scripts
├─ runtime/         user plugins/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
├─ third-party/     CMake subproject to build dependencies
└─ 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:

        http://iccf-holland.org/
        http://www.vim.org/iccf/
        http://www.iccf.nl/

You can also sponsor the development of Vim.  Vim sponsors can vote for
features.  The money goes to Uganda anyway.