mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
lib/neovim-plugin: support lz-n lazy config
This commit is contained in:
parent
da30527de1
commit
3cfde1554c
3 changed files with 155 additions and 23 deletions
|
@ -360,6 +360,15 @@ rec {
|
|||
lazy-loading for ${originalName}
|
||||
'';
|
||||
|
||||
backend =
|
||||
mkEnumFirstDefault
|
||||
[
|
||||
"lz.n"
|
||||
]
|
||||
''
|
||||
The lazy-loading backend to use.
|
||||
'';
|
||||
|
||||
# Spec loading:
|
||||
enabled = mkStrLuaFnOr types.bool (lazyLoadDefaults.enabledInSpec or null) ''
|
||||
When false, or if the function returns false, then ${originalName} will not be included in the spec.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue