Skip to content

Commit 35264ab

Browse files
github-actions[bot]b-src
authored andcommitted
Auto generate docs
1 parent b1edf7f commit 35264ab

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

doc/lazy-nix-helper.nvim.txt

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*lazy-nix-helper.nvim.txt* For Neovim >= 0.9.0? Last change: 2023 December 26
1+
*lazy-nix-helper.nvim.txt* For Neovim >= 0.9.0? Last change: 2023 December 27
22

33
==============================================================================
44
Table of Contents *lazy-nix-helper.nvim-table-of-contents*
@@ -225,7 +225,7 @@ update their configuration as in this example
225225
>lua
226226
{
227227
repo/my-cool-plugin.nvim,
228-
dir = require("lazy-nix-helper").get_plugin_path("my-cool-plugin"),
228+
dir = require("lazy-nix-helper").get_plugin_path("my-cool-plugin.nvim"),
229229
...
230230
}
231231
<
@@ -437,9 +437,14 @@ KNOWN LIMITATIONS *lazy-nix-helper.nvim-lazy-nix-helper-known-limitations*
437437
Lazy-Nix-Helper can’t currently find plugins installed by Nix on non-NixOS
438438
platforms.
439439

440-
Currently only plugins in the `vimplugin` or `lua5.1` package groups are found.
441-
That includes all the plugins that I use, but I think there are other package
442-
groups where neovim plugins can exist.
440+
Lazy-Nix-Helper’s plugin discovery mechanism searches the current system’s
441+
installed packages for packages prefixed with `vimplugin` or `lua5.1`. As of
442+
2023-12-27 these are the only two prefixes used by the vimPlugin packageset in
443+
the unstable branch of nixpkgs. This works for now, but may break if a new
444+
prefix is added or existing prefixes are changed. It would be best to allow a
445+
list of plugin paths to be passed into the `setup()` function so that the nix
446+
store paths of neovim plugins could be provided declaratively by the NixOS
447+
config.
443448

444449

445450
ALTERNATIVES *lazy-nix-helper.nvim-lazy-nix-helper-alternatives*

0 commit comments

Comments
 (0)