mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-09 03:56:05 +01:00
plugins/lazy: add performance option
This commit is contained in:
parent
334d2eb26e
commit
a1d59a5542
1 changed files with 14 additions and 1 deletions
|
|
@ -54,6 +54,18 @@ in
|
||||||
"lazy-nvim"
|
"lazy-nvim"
|
||||||
] { };
|
] { };
|
||||||
|
|
||||||
|
performance.rtp = {
|
||||||
|
reset = helpers.defaultNullOpts.mkBool true ''
|
||||||
|
reset the runtime path to $VIMRUNTIME and your config directory.
|
||||||
|
'';
|
||||||
|
paths = helpers.defaultNullOpts.mkListOf lib.types.str [ ] ''
|
||||||
|
add any custom paths here that you want to includes in the rtp
|
||||||
|
'';
|
||||||
|
disabled_plugins = helpers.defaultNullOpts.mkListOf lib.types.str [ ] ''
|
||||||
|
list any plugins you want to disable here
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
plugins =
|
plugins =
|
||||||
with types;
|
with types;
|
||||||
let
|
let
|
||||||
|
|
@ -220,7 +232,8 @@ in
|
||||||
patterns = {"."},
|
patterns = {"."},
|
||||||
fallback = false
|
fallback = false
|
||||||
},
|
},
|
||||||
spec = ${lib.nixvim.toLuaObject packedPlugins}
|
spec = ${lib.nixvim.toLuaObject packedPlugins},
|
||||||
|
performance = ${lib.nixvim.toLuaObject cfg.performance},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue