|
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 |
2 | 2 |
|
3 | 3 | ============================================================================== |
4 | 4 | Table of Contents *lazy-nix-helper.nvim-table-of-contents* |
@@ -225,7 +225,7 @@ update their configuration as in this example |
225 | 225 | >lua |
226 | 226 | { |
227 | 227 | 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"), |
229 | 229 | ... |
230 | 230 | } |
231 | 231 | < |
@@ -437,9 +437,14 @@ KNOWN LIMITATIONS *lazy-nix-helper.nvim-lazy-nix-helper-known-limitations* |
437 | 437 | Lazy-Nix-Helper can’t currently find plugins installed by Nix on non-NixOS |
438 | 438 | platforms. |
439 | 439 |
|
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. |
443 | 448 |
|
444 | 449 |
|
445 | 450 | ALTERNATIVES *lazy-nix-helper.nvim-lazy-nix-helper-alternatives* |
|
0 commit comments