diff --git a/README.md b/README.md index e59feb4..6cfa4c1 100755 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ require("lz.n").load {
- With paq-nvim + paq-nvim example ```lua @@ -223,6 +223,43 @@ require("lz.n").load {
+
+ + Nix (Home Manager) example + + + ```nix + programs.neovim = { + enable = true; + plugins = with pkgs.vimPlugins [ + lz-n + { + plugin = pkgs.vimPlugins.telescope-nvim; + config = '' + require("lz.n").load { + "telescope.nvim", + cmd = "Telescope", + } + ''; + type = "lua"; + optional = true; + } + { + plugin = pkgs.vimPlugins.sweetie-nvim; + config = '' + require("lz.n").load { + "sweetie.nvim", + colorscheme = "sweetie", + } + ''; + type = "lua"; + optional = true; + } + ]; + }; + ``` + +
### Structuring Your Plugins