Neovim: Difference between revisions
m Use syntaxhighlight=console for shell commands |
m corrected the reason |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
{{low quality|reason=<translate> | {{low quality|reason=<translate>The provided nix code snippets in [[#Tips_and_tricks]] look out of context, lacking indication where the provided configuration belongs (e.g. home-manager, configuration.nix or elsewhere?); [[#Installation]] and [[#Configuration]] mix home-manager and configuration.nix code in monolithic code blocks. [[#Beginning]] is over too wordy.</translate>}} | ||
{{infobox application | {{infobox application | ||
|name=Neovim | |name=Neovim | ||
| Line 128: | Line 128: | ||
<translate> | <translate> | ||
<!--T:12--> | <!--T:12--> | ||
== Tips and | == Tips and tricks == | ||
{{expand}} | {{expand}} | ||
==== Package | ==== Nix configuration frameworks ==== | ||
[https://github.com/nix-community/nixvim Nixvim] and [https://github.com/NotAShelf/nvf nvf] provide a framework for declaratively configuring neovim with [[Nix (language)|Nix]]. They support, among the other things, plugin configuration, as well as mixing in plain Lua config snippets. | |||
Linux and Darwin platforms are supported using standalone Nix, [[NixOS]] or [[Home Manager]] modules. | |||
==== Package variations ==== <!--T:15--> | |||
<!--T:44--> | <!--T:44--> | ||
| Line 139: | Line 144: | ||
You can run the master version via the following command: | You can run the master version via the following command: | ||
</translate> | </translate> | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
$ nix run "github:nix-community/neovim-nightly-overlay" | $ nix run "github:nix-community/neovim-nightly-overlay" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | |||
==== Plugin management ==== <!--T:21--> | |||
==== Plugin | |||
</translate> | </translate> | ||
| Line 241: | Line 245: | ||
<translate> | <translate> | ||
==== | ==== Pre-made distributions ==== <!--T:18--> | ||
<!--T:45--> | <!--T:45--> | ||