Vim-fork focused on extensibility and usability
Go to file
zeertzjq ff972b88db vim-patch:760f664213de
runtime(mswin): revert back the check for clipboard_working support

Commit d9ebd46bd090c598adc82e6 changed the condition to
check if the clipboard is available from:
```
has('clipboard')
```
to
```
has('clipboard_working')
```
Assuming that is the more accurate test because even when clipboard
support is enabled at compile time it may not be actually working (e.g.
if no X11 environment is available, or when working on a remote server).

However it seems that condition does not evaluate to true, when the GUI
has not been started up yet (and there was no X11 Connection yet possible).

So let's just revert back the check to `has('clipboard')`, since that
has been proven to be working well enough.

related: vim/vim#13809

760f664213

Co-authored-by: Christian Brabandt <cb@256bit.org>
2024-03-14 15:03:47 +08:00
.github ci: allow skipping news workflow with a label 2024-03-08 17:55:33 +01:00
cmake build: set deps default build type to Release (#27495) 2024-02-16 11:56:52 -06:00
cmake.config refactor(metadata): generate all metadata in lua 2024-02-28 11:00:38 +01:00
cmake.deps build(deps): bump luajit to HEAD - d06beb048 2024-03-11 16:45:20 +08:00
cmake.packaging
contrib feat(docs): replace lua2dox.lua 2024-02-27 14:41:17 +00:00
runtime vim-patch:760f664213de 2024-03-14 15:03:47 +08:00
scripts docs(editorconfig): move to source 2024-03-10 23:20:44 +00:00
src vim-patch:9.1.0177: Coverity reports dead code 2024-03-14 13:09:57 +08:00
test fix(treesitter): highlight injections properly 2024-03-14 06:55:19 +00:00
.cirrus.yml
.clang-format
.clang-tidy
.clangd
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.luacheckrc
.luacov
.luarc.json
.mailmap
.stylua.toml
.styluaignore
BSDmakefile
BUILD.md docs: small fixes (#27364) 2024-03-12 13:51:53 +08:00
CMakeLists.txt build: don't allow Xcode as generator 2024-03-03 12:46:39 +01:00
CMakePresets.json
CONTRIBUTING.md feat(docs): replace lua2dox.lua 2024-02-27 14:41:17 +00:00
INSTALL.md docs(install): add more Linux install instructions #27350 2024-02-08 06:55:53 -08:00
LICENSE.txt
MAINTAIN.md docs: small fixes (#27364) 2024-03-12 13:51:53 +08:00
Makefile build: set deps default build type to Release (#27495) 2024-02-16 11:56:52 -06:00
README.md

Neovim

Documentation | Chat

Coverity Scan analysis Clang 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 BUILD.md 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/         Vimscript 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.