Vim-fork focused on extensibility and usability
Go to file
Jason Felice 3c41df2691 vim-patch:8.1.0256: using setline() in TextChangedI splits undo
Problem:    Using setline() in TextChangedI splits undo.
Solution:   Use another solution for undo not working properly.
9fa9506853

This deviates from Vim in the handling of the CursorHoldI event.  In
Vim, any buffer changes are merged into the insert.  In Neovim,
CursorHoldI is handled via the multiqueue, and the point at which
the cursor hold is implemented (in input.c) doesn't know enough about it.
Making all queued events merge into the insert seems more wronger since
changes by other asynchronous events really should be separately
undoable.
2018-08-09 16:46:50 -07:00
busted/outputHandlers test/busted: eager-flushing TAP.lua handler 2017-07-29 23:50:29 +02:00
ci test: give more time for nodejs 2018-06-04 19:42:28 -04:00
cmake build/test: skip empty TEST_TAG, TEST_FILTER 2018-06-16 02:12:35 +02:00
config *: Add some PVS comments 2018-04-15 20:07:07 +03:00
contrib contrib: fix local.mk.example (#8286) 2018-04-16 21:21:44 +02:00
man Ex mode: use getexline() instead of getexmodeline() 2018-06-17 14:50:53 +02:00
runtime Merge #8797 from janlazo/vim-8.0.0687 2018-08-09 02:00:28 +02:00
scripts vim-patch.sh: Pass directory name to find (#8830) 2018-08-09 01:56:55 +02:00
snap dist: snap packaging #7918 2018-01-29 23:02:15 +01:00
src vim-patch:8.1.0256: using setline() in TextChangedI splits undo 2018-08-09 16:46:50 -07:00
test Merge pull request #8660 from phodge/7688-nvim-buf-lines-should-return-empty-list-for-unloaded-buffer 2018-08-02 13:28:36 +02:00
third-party Raise minimum CMake version to 2.8.12 and remove compat code 2018-06-18 08:00:30 -04:00
unicode Update unicode files 2018-07-10 06:53:11 -04:00
.editorconfig editorconfig: handle Vim help files (#7354) 2017-10-04 09:18:03 +02:00
.gitignore makedeps.bat 2018-06-06 00:58:57 +02:00
.travis.yml build/CMake: find_package(… REQUIRED) 2018-06-06 00:58:57 +02:00
appveyor.yml ci/AppVeyor: enable MSVC_32 build 2018-03-26 10:54:44 -05:00
BACKERS.md Update backer URL 2015-11-11 19:50:33 -08:00
BSDmakefile build: show a hint for BSD make (#7275) 2017-09-16 10:54:49 +02:00
CMakeLists.txt cmake: bump API version 2018-07-25 14:09:04 +10:00
codecov.yml codecov: Report coverage even if some CI failed 2018-02-07 07:51:22 -05:00
CONTRIBUTING.md doc: job/channel, misc #7783 2018-06-11 00:08:27 +02:00
ISSUE_TEMPLATE.md doc: ISSUE_TEMPLATE.md 2017-07-08 14:59:06 +02:00
LICENSE LICENSE: add LuaJIT notice. #899 2014-06-30 13:59:56 -04:00
Makefile build: respect $DEPS_BUILD_DIR 2018-03-11 15:38:18 +01:00
README.md doc: README: "Transitioning from Vim" note (#8763) 2018-07-23 03:06:27 +02:00

Neovim

Wiki | Documentation | Twitter | Community | Gitter Chat

Travis Build Status AppVeyor Build status codecov Coverity Scan Build Clang Scan Build PVS-studio Check

Packages Debian CI Downloads

Neovim is a project that seeks to aggressively refactor Vim in order to:

See the wiki and Roadmap for more information.

Throughput Graph

Features

See :help nvim-features for the full list!

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 list all targets:

cmake --build build --target help

To skip "bundled" dependencies define USE_BUNDLED_DEPS=NO (CMake option: USE_BUNDLED=NO).

See the wiki for details.

Install from package

Pre-built packages for Windows, macOS, and Linux are found at the Releases page.

Managed packages are in Homebrew, Debian, Ubuntu, Fedora, Arch Linux, Gentoo, and more!

Transitioning from Vim

See :help nvim-from-vim for instructions.

Project layout

├─ ci/              build automation
├─ cmake/           build scripts
├─ runtime/         user plugins/docs
├─ src/             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.