Neovim: Difference between revisions
mNo edit summary |
Included more information on LunarVim |
||
Line 78: | Line 78: | ||
== Tips and Tricks == | == Tips and Tricks == | ||
==== | ==== Location of Option ==== | ||
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]. | ||
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]. | ||
==== | ==== Neovim Nightly ==== | ||
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 90: | Line 90: | ||
nix run "github:nix-community/neovim-nightly-overlay" | nix run "github:nix-community/neovim-nightly-overlay" | ||
==== | ==== Pre-Configured Configurations ==== | ||
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 96: | Line 96: | ||
* [https://astronvim.com/ AstroVim] | * [https://astronvim.com/ AstroVim] | ||
* [https://nvchad.com/ NVChad] | * [https://nvchad.com/ NVChad] | ||
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. | |||
==== | The configuration for LunarVim is stored in <code>./config/lvim</code>. | ||
==== Plugin Management ==== | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
plugins = [ | plugins = [ |