Skip to content

Commit 44931b7

Browse files
github-actions[bot]b-src
authored andcommitted
Auto generate docs
1 parent 7a74651 commit 44931b7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/lazy-nix-helper.nvim.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,19 @@ Don’t forget to update each plugin’s dependencies as well
247247
}
248248
<
249249

250+
**Note on Plugin Names in Lazy Dashboard**
251+
252+
When you open the lazy dashboard with `:Lazy`, each plugin’s display name is
253+
determined by its directory path. Using nix store paths, this becomes difficult
254+
to read because each plugin name is prepended with it’s hash. As far as I’m
255+
aware there’s no way to fix this.
256+
257+
Lazy provides the `name` option for plugin config which sets a custom display
258+
name for the plugin, but this also: - sets a custom directory path for the
259+
plugin - uses the custom name to try to find the plugins `setup()` function
260+
261+
Even with a `dir` configured, setting `name` will break plugin setup.
262+
250263

251264
MASON ~
252265

0 commit comments

Comments
 (0)