mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/commands: fix nargs enum
This commit is contained in:
parent
63cfd8cefc
commit
3ec6dff17b
2 changed files with 3 additions and 2 deletions
|
@ -16,8 +16,8 @@ let
|
|||
nargs =
|
||||
helpers.mkNullOrOption
|
||||
(types.enum [
|
||||
"0"
|
||||
"1"
|
||||
0
|
||||
1
|
||||
"*"
|
||||
"?"
|
||||
"+"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"W" = {
|
||||
command = ":w<CR>";
|
||||
desc = "Write file";
|
||||
nargs = 0;
|
||||
};
|
||||
"Z" = {
|
||||
command = ":echo fooo<CR>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue