Jump to content

Neovim: Difference between revisions

521 bytes added ,  4 January 2021
Adding note about using the default package management system with Lua requires and how it can give errors on loading
imported>Mjlbach
m (Update neovim-nightly-overlay url)
imported>Toastal
(Adding note about using the default package management system with Lua requires and how it can give errors on loading)
Line 21: Line 21:


   programs.neovim.enable = true;
   programs.neovim.enable = true;
== Note on errors using default `packages` for plugins requiring Lua modules ==
[Due to how the `runtimepath` for Lua modules is processed](https://github.com/nanotee/nvim-lua-guide#a-note-about-packages), your configuration may require `packadd! plugin-name` to require a module. A home-manager example:
  programs.neovim = {
    plugins = [
      {
        plugin = nvim-colorizer-lua
        config = ''
          packadd! nvim-colorizer.lua
          lua require 'colorizer'.setup()
        '';
      }
    ];
  }


== To build neovim master ==
== To build neovim master ==
Anonymous user