Jump to content

Neovim: Difference between revisions

353 bytes added ,  Wednesday at 16:36
Included more information on LunarVim
mNo edit summary
(Included more information on LunarVim)
Line 78: Line 78:
== Tips and Tricks ==
== Tips and Tricks ==


==== Where to see a list of options? ====
==== 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].  


==== Can I use the latest version? ====
==== 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"


==== What if I don't want to configure it myself? ====
==== 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]
* [https://wiki.nixos.org/wiki/LunarVim LunarVim]
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.


==== How to configure plugins? ====
The configuration for LunarVim is stored in <code>./config/lvim</code>.
 
==== Plugin Management ====
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
plugins = [
plugins = [
48

edits