Nav apraksta

James McCoy 1e1fd71fea Merge pull request #16208 from neovim/backport-16207-to-release-0.5 3 gadi atpakaļ
.builds e2bc0bf665 fix(ci): adjust DEPS_INSTALL_DIR on OpenBSD to avoid pkg-config bug (#14803) 3 gadi atpakaļ
.github 606ace0fbe ci(release): delete nightly/stable tag so release recreates it 3 gadi atpakaļ
ci 3ad07553e2 fix(ci): use correct check for path-existence 3 gadi atpakaļ
cmake cd864748d3 test: use $TEST_TIMEOUT to specify timeout 3 gadi atpakaļ
config 3261ba98a2 vim-patch:8.1.2326: cannot parse a date/time string 3 gadi atpakaļ
contrib f695457f81 contrib: add clang-tools to nix flake 3 gadi atpakaļ
man ea8756f85d logging: move to XDG_CACHE_HOME (#13739) 3 gadi atpakaļ
runtime d8ccee30b0 fix(jobwait): always drain process event queues #15970 3 gadi atpakaļ
scripts c9e4f86b75 fix(release.sh): ignore failed "rm" 3 gadi atpakaļ
snap 192ea01edd cmake: install app icon in XDG hicolor icon theme (#14656) 3 gadi atpakaļ
src d8ccee30b0 fix(jobwait): always drain process event queues #15970 3 gadi atpakaļ
test d8ccee30b0 fix(jobwait): always drain process event queues #15970 3 gadi atpakaļ
third-party 836c310321 feat(ts): bump tree-sitter to v0.20.0 3 gadi atpakaļ
unicode aadf85f3ca Update unicode files 4 gadi atpakaļ
.clang-format 67305ffb5d lint: src/.clang-format 6 gadi atpakaļ
.clangd 5777fc1b8e Adding clangd language serever config file to point to build/ directory for compile_commands.json 3 gadi atpakaļ
.editorconfig 0c42e0e8b1 editorconfig: set default tab width to 8 (#9467) 5 gadi atpakaļ
.flake8 d651710de1 ci: pylint target via flake8 5 gadi atpakaļ
.gitattributes d6f03aaafd fix: include ci/ in exported tarball 3 gadi atpakaļ
.gitignore 0185625c04 vim-patch:47e13953ffdb 3 gadi atpakaļ
.luacheckrc 817522b231 luacheck: Enforce compatibility with Lua5.1 4 gadi atpakaļ
.luacov 678a51b1da Lua: vim.validate() 5 gadi atpakaļ
.travis.yml 18512649e6 ci(travis): Remove jobs covered by GHA 3 gadi atpakaļ
BACKERS.md 846fe25111 Update backer URL 9 gadi atpakaļ
BSDmakefile d83df7f7b5 feat(lua)!: register_keystroke_callback => on_key 3 gadi atpakaļ
CMakeLists.txt a3a56cf60c version bump 3 gadi atpakaļ
CONTRIBUTING.md f809664f89 ci: skip "cancels stale events on channel close" #15278 3 gadi atpakaļ
LICENSE 9d8733c579 LICENSE: add LuaJIT notice. #899 10 gadi atpakaļ
MAINTAIN.md 81c3fa6c9d doc 5 gadi atpakaļ
Makefile 250e4e699f build: Inherit -n and -jN flags if Ninja #12219 4 gadi atpakaļ
README.md e2af1a7da3 Update README.md 3 gadi atpakaļ
codecov.yml 3eb241d831 bundle: move tree-sitter as a bundled dep 4 gadi atpakaļ

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

To inspect the build, these CMake features are useful:

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