Neovim: Difference between revisions

imported>Onny
(Add example system configuration)
imported>Onny
mNo edit summary
Line 107: Line 107:
   };
   };


== Build Neovim using Nix ==
== Tips and tricks ==
 
=== Build Neovim using Nix ===


You can also compile Neovim using nix. For this, the Neovim GitHub page has more information on this:
You can also compile Neovim using nix. For this, the Neovim GitHub page has more information on this:
Line 119: Line 121:
Finally, there is a [https://github.com/nix-community/neovim-nightly-overlay Neovim Nightly Overlay].
Finally, there is a [https://github.com/nix-community/neovim-nightly-overlay Neovim Nightly Overlay].


== Note on Lua plugins  ==
=== Note on Lua plugins  ===


Due to how the `runtimepath` for Lua modules is [https://github.com/nanotee/nvim-lua-guide#a-note-about-packages processed], your configuration may require <code>packadd! plugin-name</code> to require a module. A home-manager example:
Due to how the `runtimepath` for Lua modules is [https://github.com/nanotee/nvim-lua-guide#a-note-about-packages processed], your configuration may require <code>packadd! plugin-name</code> to require a module. A home-manager example: