Neovim: Difference between revisions

Ardenet (talk | contribs)
Marked this version for translation
DHCP (talk | contribs)
m Tips and Tricks: style: fix headings case
 
(6 intermediate revisions by 2 users 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 6: Line 7:
   |developer=Neovim Core Team & Community
   |developer=Neovim Core Team & Community
   |firstRelease=November 1, 2015
   |firstRelease=November 1, 2015
   |latestRelease=Nvim 0.11.2 (May 30, 2025)
   |latestRelease=Nvim 0.12.2 (April 22, 2026)
   |status=Active
   |status=Active
   |license=[https://www.apache.org/licenses/LICENSE-2.0 Apache 2.0] (with parts under Vim license)
   |license=[https://www.apache.org/licenses/LICENSE-2.0 Apache 2.0] (with parts under Vim license)
Line 20: Line 21:
<translate>
<translate>
<!--T:76-->
<!--T:76-->
:''See also: [[Vim]]''
:''See also: <tvar name=vim>[[Special:MyLanguage/Vim|Vim]]</tvar>''


<!--T:1-->
<!--T:1-->
[https://neovim.io/ Neovim]<ref>Neovim Team, "Home - Neovim", Neovim Official Website, Last updated March 2025, Accessed June 2025. https://neovim.io/</ref> is a highly extensible and open source text editor that aims to improve upon and modernize the popular [[Vim]]<ref>NixOS Wiki Community, "Vim", NixOS Wiki, Last edited 24 February 2025, Accessed June 2025. https://wiki.nixos.org/wiki/Vim</ref> editor. It's designed to be a drop-in replacement for Vim, maintaining compatibility with most Vim plugins and configurations while offering additional features and improvements. Neovim focuses on extensibility, usability, and performance.
[https://neovim.io/ Neovim]<ref>Neovim Team, "Home - Neovim", Neovim Official Website, Last updated March 2025, Accessed June 2025. https://neovim.io/</ref> is a highly extensible and open source text editor that aims to improve upon and modernize the popular <tvar name=vim>[[Special:MyLanguage/Vim|Vim]]</tvar><ref>NixOS Wiki Community, "Vim", NixOS Wiki, Last edited 24 February 2025, Accessed June 2025. https://wiki.nixos.org/wiki/Vim</ref> editor. It's designed to be a drop-in replacement for Vim, maintaining compatibility with most Vim plugins and configurations while offering additional features and improvements. Neovim focuses on extensibility, usability, and performance.


<!--T:2-->
<!--T:2-->
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 255: Line 266:
   },
   },
  })
  })
  vim.cmd([[ packloadall]] ) -- load plugins outside of lazy
  vim.cmd("packloadall") -- load plugins outside of lazy
}}
}}


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-->
</translate>


<!--T:75-->
[[Category:Applications]]
[[Category:Applications]]
[[Category:CLI Applications]]
[[Category:CLI Applications]]
[[Category:Text Editor]]
[[Category:Text Editor]]
</translate>