mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
lib: add lznKeySpec example
This commit is contained in:
parent
5eadc2937d
commit
146fcf25e6
1 changed files with 6 additions and 1 deletions
|
@ -186,7 +186,12 @@
|
||||||
keys = mkOption {
|
keys = mkOption {
|
||||||
description = "Lazy-load on key mapping";
|
description = "Lazy-load on key mapping";
|
||||||
default = null;
|
default = null;
|
||||||
type = nullOr (oneOf [str (listOf lznKeysSpec) (listOf str)]); # TODO: support lz.n.KeysSpec
|
type = nullOr (oneOf [str (listOf lznKeysSpec) (listOf str)]);
|
||||||
|
example = ''
|
||||||
|
keys = [
|
||||||
|
{lhs = "<leader>s"; rhs = ":NvimTreeToggle<cr>"; desc = "Toggle NvimTree"}
|
||||||
|
]
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: enabled, beforeAll, colorscheme, priority, load
|
# TODO: enabled, beforeAll, colorscheme, priority, load
|
||||||
|
|
Loading…
Reference in a new issue