Neovim: Difference between revisions
m bump latestRelease in the infobox, fix formatting in vim.cmd function |
m →Tips and Tricks: style: fix headings case |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
{{low quality|reason=<translate>Most of the provided nix code snippets look out of context, lacking indication where the provided configuration belongs (e.g. home-manager, configuration.nix or elsewhere?). [[#Beginning]] is over too wordy.</translate>}} | |||
{{infobox application | {{infobox application | ||
|name=Neovim | |name=Neovim | ||
| Line 36: | Line 37: | ||
</translate> | </translate> | ||
<syntaxhighlight lang="console"> | |||
$ nix-shell -p neovim | |||
</syntaxhighlight> | |||
<translate> | <translate> | ||
| Line 125: | 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 137: | Line 145: | ||
</translate> | </translate> | ||
<syntaxhighlight lang="console"> | |||
$ nix run "github:nix-community/neovim-nightly-overlay" | |||
</syntaxhighlight> | |||
<translate> | <translate> | ||
==== Plugin | ==== Plugin management ==== <!--T:21--> | ||
</translate> | </translate> | ||
| Line 235: | Line 246: | ||
<translate> | <translate> | ||
==== | ==== Pre-made distributions ==== <!--T:18--> | ||
<!--T:45--> | <!--T:45--> | ||
| Line 314: | Line 325: | ||
* [https://search.nixos.org/options?channel=unstable&query=programs.neovim NixOS options for Neovim] – System-level Neovim configuration. | * [https://search.nixos.org/options?channel=unstable&query=programs.neovim NixOS options for Neovim] – System-level Neovim configuration. | ||
* [https://discourse.nixos.org/search?q=neovim Neovim discussions on NixOS Discourse] – Community tips, troubleshooting, and use cases. | * [https://discourse.nixos.org/search?q=neovim Neovim discussions on NixOS Discourse] – Community tips, troubleshooting, and use cases. | ||
== References == <!--T:27--> | == References == <!--T:27--> | ||