Neovim: Difference between revisions

DHCP (talk | contribs)
m bump latestRelease in the infobox, fix formatting in vim.cmd function
DHCP (talk | contribs)
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>


{{code|lang=bash|line=no|1=$ nix-shell -p neovim}}
<syntaxhighlight lang="console">
$ nix-shell -p neovim
</syntaxhighlight>


<translate>
<translate>
Line 125: Line 128:
<translate>
<translate>
<!--T:12-->
<!--T:12-->
== Tips and Tricks ==
== Tips and tricks ==
{{expand}}
{{expand}}


==== Package Variations ==== <!--T:15-->
==== 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>


{{code|lang=bash|line=no|1=$ nix run "github:nix-community/neovim-nightly-overlay"}}
 
<syntaxhighlight lang="console">
$ nix run "github:nix-community/neovim-nightly-overlay"
</syntaxhighlight>


<translate>
<translate>
==== Plugin Management ==== <!--T:21-->
==== Plugin management ==== <!--T:21-->
</translate>
</translate>


Line 235: Line 246:


<translate>
<translate>
==== Frameworks ==== <!--T:18-->
==== 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.
* [https://github.com/nix-community/neovim-overlay Neovim Overlay on Nixpkgs] – For nightly builds and additional Neovim packages.


== References == <!--T:27-->
== References == <!--T:27-->