mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
lib/neovim-plugin: use mkLazyLoadOption
This commit is contained in:
parent
6ed719dba8
commit
da30527de1
2 changed files with 9 additions and 28 deletions
|
@ -412,13 +412,11 @@ rec {
|
|||
Equivalence: lz.n => ft; lazy.nvim => ft
|
||||
'';
|
||||
|
||||
keys =
|
||||
mkNullable (types.listOf lib.nixvim.keymaps.mapOptionSubmodule) (lazyLoadDefaults.keys or null)
|
||||
''
|
||||
Lazy-load on key mapping. Use the same format as `config.keymaps`.
|
||||
keys = mkListOf (types.attrsOf types.anything) (lazyLoadDefaults.keys or null) ''
|
||||
Lazy-load on key mapping.
|
||||
|
||||
Equivalence: lz.n => keys; lazy.nvim => keys
|
||||
'';
|
||||
Equivalence: lz.n => keys; lazy.nvim => keys
|
||||
'';
|
||||
|
||||
colorscheme = mkNullable triggerType (lazyLoadDefaults.colorscheme or null) ''
|
||||
Lazy-load on colorscheme.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue