Neovim: Difference between revisions

Jopejoe1 (talk | contribs)
m Improvements for translations
Jopejoe1 (talk | contribs)
Marked this version for translation
Line 9: Line 9:
== Installation == <!--T:3-->
== Installation == <!--T:3-->


<!--T:4-->
==== Using nix-shell ==== <!--T:4-->
==== Using nix-shell ====


</translate>
</translate>
Line 18: Line 17:
<translate>
<translate>


<!--T:5-->
==== Using Global Configuration ==== <!--T:5-->
==== Using Global Configuration ====


</translate>
</translate>
Line 29: Line 27:
<translate>
<translate>


<!--T:29-->
After modifying your configuration, apply the changes by running:
After modifying your configuration, apply the changes by running:


Line 37: Line 36:
<translate>
<translate>


<!--T:6-->
==== Using Home Configuration ==== <!--T:6-->
==== Using Home Configuration ====


</translate>
</translate>
Line 48: Line 46:
<translate>
<translate>


<!--T:30-->
After updating your configuration, apply the changes by running:
After updating your configuration, apply the changes by running:


Line 58: Line 57:
== Configuration == <!--T:7-->
== Configuration == <!--T:7-->


<!--T:8-->
==== Basic ==== <!--T:8-->
==== Basic ====


</translate>
</translate>
Line 79: Line 77:
<translate>
<translate>


<!--T:10-->
==== Advanced ==== <!--T:10-->
==== Advanced ====


</translate>
</translate>
Line 114: Line 111:
== Tips and Tricks == <!--T:12-->
== Tips and Tricks == <!--T:12-->


<!--T:13-->
==== Location of Options ==== <!--T:13-->
==== Location of Options ====


<!--T:31-->
The home manager options are defined in the following [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.neovim.enable Home Manager Options Manual].
The home manager options are defined in the following [https://nix-community.github.io/home-manager/options.xhtml#opt-programs.neovim.enable Home Manager Options Manual].


Line 122: Line 119:
The global options are listed on [https://mynixos.com/search?q=nixpkgs%2Foption%2Fprograms.neovim MyNixOS].  
The global options are listed on [https://mynixos.com/search?q=nixpkgs%2Foption%2Fprograms.neovim MyNixOS].  


<!--T:15-->
==== Neovim Nightly ==== <!--T:15-->
==== Neovim Nightly ====


<!--T:32-->
Have a look at the [https://github.com/nix-community/neovim-nightly-overlay Neovim Nightly Overlay] to install the most recent current nightly version of Neovim.
Have a look at the [https://github.com/nix-community/neovim-nightly-overlay Neovim Nightly Overlay] to install the most recent current nightly version of Neovim.


Line 133: Line 130:
nix run "github:nix-community/neovim-nightly-overlay"
nix run "github:nix-community/neovim-nightly-overlay"


<!--T:18-->
==== Pre-Configured Configurations ==== <!--T:18-->
==== Pre-Configured Configurations ====


<!--T:33-->
If you prefer not to configure your system manually, NixOS offers several predefined configurations and community-supported options. Here are a few of them:  
If you prefer not to configure your system manually, NixOS offers several predefined configurations and community-supported options. Here are a few of them:  


Line 141: Line 138:
* [https://www.lazyvim.org/ LazyVim]
* [https://www.lazyvim.org/ LazyVim]


<!--T:34-->
* [https://astronvim.com/ AstroVim]
* [https://astronvim.com/ AstroVim]


<!--T:35-->
* [https://nvchad.com/ NVChad]
* [https://nvchad.com/ NVChad]


<!--T:36-->
Another excellent option is [https://www.lunarvim.org/docs/installation LunarVim]. The development community describes it as "an IDE layer for Neovim with sane defaults." LunarVim includes an installer/updater for LSP modules and other features. It can be installed via the <code>lunarvim</code> package from <code>nixpkgs</code> and is started with the <code>lvim</code> command.
Another excellent option is [https://www.lunarvim.org/docs/installation LunarVim]. The development community describes it as "an IDE layer for Neovim with sane defaults." LunarVim includes an installer/updater for LSP modules and other features. It can be installed via the <code>lunarvim</code> package from <code>nixpkgs</code> and is started with the <code>lvim</code> command.


Line 150: Line 150:
The configuration for LunarVim is stored in <code>./config/lvim</code>.
The configuration for LunarVim is stored in <code>./config/lvim</code>.


<!--T:21-->
==== Plugin Management ==== <!--T:21-->
==== Plugin Management ====


</translate>
</translate>