mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-23 03:48:01 +00:00
Compare commits
3 commits
812f516dc0
...
b99cf9b5e1
Author | SHA1 | Date | |
---|---|---|---|
b99cf9b5e1 | |||
![]() |
e40cce5653 | ||
fd90cf7fd5 |
3 changed files with 2020 additions and 2049 deletions
4049
flake.lock
generated
4049
flake.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -44,23 +44,7 @@
|
||||||
|
|
||||||
# legacy stuff
|
# legacy stuff
|
||||||
mapOption = submodule {
|
mapOption = submodule {
|
||||||
options =
|
options = mapConfigOptions;
|
||||||
mapConfigOptions
|
|
||||||
// {
|
|
||||||
action = mkOption {
|
|
||||||
type = str;
|
|
||||||
description = "The action to execute.";
|
|
||||||
};
|
|
||||||
|
|
||||||
lua = mkOption {
|
|
||||||
type = bool;
|
|
||||||
description = ''
|
|
||||||
If true, `action` is considered to be lua code.
|
|
||||||
Thus, it will not be wrapped in `""`.
|
|
||||||
'';
|
|
||||||
default = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mapOptions = mode:
|
mapOptions = mode:
|
||||||
|
|
|
@ -37,7 +37,7 @@ in {
|
||||||
else keymap.action;
|
else keymap.action;
|
||||||
|
|
||||||
getOpts = keymap: {
|
getOpts = keymap: {
|
||||||
inherit (keymap) silent nowait script expr unique noremap;
|
inherit (keymap) desc silent nowait script expr unique noremap;
|
||||||
};
|
};
|
||||||
|
|
||||||
toLuaKeymap = {
|
toLuaKeymap = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue