暫無描述

Daniel Hahler dc1a11dbe1 CI: Fix/improve Travis cache handling [skip appveyor] #10422 5 年之前
busted acdede50ce test: Dump $NVIM_LOG_FILE contents (#8926) 6 年之前
ci a9b1937e5a ci: install neovim gem on macOS 6 年之前
cmake 221f6fffad runtime/lua/vim/compat.lua 6 年之前
config 092b4d9774 *: Add some PVS comments 6 年之前
contrib 9a1f57b488 contrib: fix local.mk.example (#8286) 6 年之前
man 30857030e8 doc 6 年之前
runtime 959ff84e04 vim-patch:8.1.1401: misspelled mkspellmem as makespellmem 5 年之前
scripts 877d539904 genappimage.sh: migrate to linuxdeploy #10027 5 年之前
snap ca31f81a31 dist: snap packaging #7918 6 年之前
src 413b313ad2 eval/api: don't allow the API to be called in the sandbox. 5 年之前
test 413b313ad2 eval/api: don't allow the API to be called in the sandbox. 5 年之前
third-party b4028056fa win/dist: nvim-qt v0.2.12 5 年之前
unicode 7b2f6a7e5f Update unicode files 6 年之前
.clang-format 67305ffb5d lint: src/.clang-format 6 年之前
.editorconfig 84fcba9b01 editorconfig: Fix charset name #9070 6 年之前
.gitignore 90e3dd9220 makedeps.bat 6 年之前
.travis.yml dc1a11dbe1 CI: Fix/improve Travis cache handling [skip appveyor] #10422 5 年之前
BACKERS.md 846fe25111 Update backer URL 9 年之前
BSDmakefile 1cebf17fbe build: show a hint for BSD make (#7275) 7 年之前
CMakeLists.txt d65181fc9a version bump 5 年之前
CONTRIBUTING.md f72f638f97 doc: job/channel, misc #7783 6 年之前
ISSUE_TEMPLATE.md 06f798cc38 doc: ISSUE_TEMPLATE.md 7 年之前
LICENSE 9d8733c579 LICENSE: add LuaJIT notice. #899 10 年之前
MAINTAIN.md b11f5aa119 doc: xdg, MAINTAIN.md, channel-id, job control 6 年之前
Makefile 1bbbd5f0ff build: `make helphtml` 6 年之前
README.md 4ba8266ab1 doc 5 年之前
appveyor.yml a7b17d4b3e CI/AppVeyor: invalidate .deps if build.ps1 changes 6 年之前
codecov.yml 131897c16b codecov: Tolerate a 1% drop in coverage for a PR 6 年之前

README.md

Neovim

Wiki | Documentation | Twitter | Community | Gitter Chat

Travis build status AppVeyor build status Codecov coverage 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.

Throughput Graph

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

make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

To install to a non-default location, set CMAKE_INSTALL_PREFIX:

make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=/full/path/"
make install

To skip bundled (third-party/*) dependencies:

  1. Install the dependencies using a package manager. sudo apt install gperf luajit luarocks libuv1-dev libluajit-5.1-dev libunibilium-dev libmsgpack-dev libtermkey-dev libvterm-dev libjemalloc-dev sudo luarocks build mpack sudo luarocks build lpeg sudo luarocks build inspect
  2. Build with USE_BUNDLED=OFF: make CMAKE_BUILD_TYPE=RelWithDebInfo USE_BUNDLED=OFF sudo make install

CMake features:

  • List all build targets: cmake --build build --target help
  • Print all variable definitions: cmake -LAH
  • build/CMakeCache.txt contains the resolved values of all CMake variables.
  • build/compile_commands.json shows the full compiler invocations for each translation unit.

See the Building Neovim wiki page for details.

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 is licensed under the terms of the Apache 2.0 license, except for parts that were contributed under the Vim license.

  • Contributions committed before b17d96 remain under the Vim license.

  • Contributions committed after b17d96 are licensed under Apache 2.0 unless those contributions were copied from Vim (identified in the commit logs 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.