robin/laufey

tiny neovim fork for cozy coding

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonfeat(ftplugin): treesitter default highlighting for markdowndcbe5bdd96

master
5.1 KiB115 linesraw
<h1 align="center"> <img src="https://raw.githubusercontent.com/neovim/neovim.github.io/master/static/logos/neovim-logo-300x87.png" alt="Neovim">

<a href="https://neovim.io/doc/">Documentation</a> | <a href="https://app.element.io/#/room/#neovim:matrix.org">Chat</a>

</h1>

Coverity Scan 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.txt for details.

<!-- vim: set tw=80: -->
1<h1 align="center">
2  <img src="https://raw.githubusercontent.com/neovim/neovim.github.io/master/static/logos/neovim-logo-300x87.png" alt="Neovim">
3
4  <a href="https://neovim.io/doc/">Documentation</a> |
5  <a href="https://app.element.io/#/room/#neovim:matrix.org">Chat</a>
6</h1>
7
8[![Coverity Scan analysis](https://scan.coverity.com/projects/2227/badge.svg)](https://scan.coverity.com/projects/2227)
9[![Packages](https://repology.org/badge/tiny-repos/neovim.svg)](https://repology.org/metapackage/neovim)
10[![Debian CI](https://badges.debian.net/badges/debian/testing/neovim/version.svg)](https://buildd.debian.org/neovim)
11[![Downloads](https://img.shields.io/github/downloads/neovim/neovim/total.svg?maxAge=2592001)](https://github.com/neovim/neovim/releases/)
12
13Neovim is a project that seeks to aggressively refactor [Vim](https://www.vim.org/) in order to:
14
15- Simplify maintenance and encourage [contributions](CONTRIBUTING.md)
16- Split the work between multiple developers
17- Enable [advanced UIs] without modifications to the core
18- Maximize [extensibility](https://neovim.io/doc/user/api-ui-events.html#api-ui-events)
19
20See the [Introduction](https://github.com/neovim/neovim/wiki/Introduction) wiki page and [Roadmap]
21for more information.
22
23Features
24--------
25
26- Modern [GUIs](https://github.com/neovim/neovim/wiki/Related-projects#gui)
27- [API access](https://github.com/neovim/neovim/wiki/Related-projects#api-clients)
28  from any language including C/C++, C#, Clojure, D, Elixir, Go, Haskell, Java/Kotlin,
29  JavaScript/Node.js, Julia, Lisp, Lua, Perl, Python, Racket, Ruby, Rust
30- Embedded, scriptable [terminal emulator](https://neovim.io/doc/user/terminal.html)
31- Asynchronous [job control](https://github.com/neovim/neovim/pull/2247)
32- [Shared data (shada)](https://github.com/neovim/neovim/pull/2506) among multiple editor instances
33- [XDG base directories](https://github.com/neovim/neovim/pull/3470) support
34- Compatible with most Vim plugins, including Ruby and Python plugins
35
36See [`:help nvim-features`][nvim-features] for the full list, and [`:help news`][nvim-news] for noteworthy changes in the latest version!
37
38Install from package
39--------------------
40
41Pre-built packages for Windows, macOS, and Linux are found on the
42[Releases](https://github.com/neovim/neovim/releases/) page.
43
44[Managed packages] are in [Homebrew], [Debian], [Ubuntu], [Fedora], [Arch Linux], [Void Linux], [Gentoo], and more!
45
46Install from source
47-------------------
48
49See [BUILD.md](./BUILD.md) and [supported platforms](https://neovim.io/doc/user/support.html#supported-platforms) for details.
50
51The build is CMake-based, but a Makefile is provided as a convenience.
52After installing the dependencies, run the following command.
53```bash
54make CMAKE_BUILD_TYPE=RelWithDebInfo
55sudo make install
56```
57
58To install to a non-default location:
59```bash
60make CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/full/path/
61make install
62```
63
64CMake hints for inspecting the build:
65
66- `cmake --build build --target help` lists all build targets.
67- `build/CMakeCache.txt` (or `cmake -LAH build/`) contains the resolved values of all CMake variables.
68- `build/compile_commands.json` shows the full compiler invocations for each translation unit.
69
70Transitioning from Vim
71--------------------
72
73See [`:help nvim-from-vim`](https://neovim.io/doc/user/nvim.html#nvim-from-vim) for instructions.
74
75Project layout
76--------------
77
78    ├─ cmake/           CMake utils
79    ├─ cmake.config/    CMake defines
80    ├─ cmake.deps/      subproject to fetch and build dependencies (optional)
81    ├─ runtime/         plugins and docs
82    ├─ src/nvim/        application source code (see src/nvim/README.md)
83    │  ├─ api/          API subsystem
84    │  ├─ eval/         Vimscript subsystem
85    │  ├─ event/        event-loop subsystem
86    │  ├─ generators/   code generation (pre-compilation)
87    │  ├─ lib/          generic data structures
88    │  ├─ lua/          Lua subsystem
89    │  ├─ msgpack_rpc/  RPC subsystem
90    │  ├─ os/           low-level platform code
91    │  └─ tui/          built-in UI
92    └─ test/            tests (see test/README.md)
93
94License
95-------
96
97Neovim contributions since [b17d96][license-commit] are licensed under the
98Apache 2.0 license, except for contributions copied from Vim (identified by the
99`vim-patch` token). See [LICENSE.txt](./LICENSE.txt) for details.
100
101[license-commit]: https://github.com/neovim/neovim/commit/b17d9691a24099c9210289f16afb1a498a89d803
102[nvim-features]: https://neovim.io/doc/user/vim_diff.html#nvim-features
103[nvim-news]: https://neovim.io/doc/user/news.html
104[Roadmap]: https://neovim.io/roadmap/
105[advanced UIs]: https://github.com/neovim/neovim/wiki/Related-projects#gui
106[Managed packages]: ./INSTALL.md#install-from-package
107[Debian]: https://packages.debian.org/testing/neovim
108[Ubuntu]: https://packages.ubuntu.com/search?keywords=neovim
109[Fedora]: https://packages.fedoraproject.org/pkgs/neovim/neovim/
110[Arch Linux]: https://www.archlinux.org/packages/?q=neovim
111[Void Linux]: https://voidlinux.org/packages/?arch=x86_64&q=neovim
112[Gentoo]: https://packages.gentoo.org/packages/app-editors/neovim
113[Homebrew]: https://formulae.brew.sh/formula/neovim
114
115<!-- vim: set tw=80: -->