mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +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 =
|
nargs =
|
||||||
helpers.mkNullOrOption
|
helpers.mkNullOrOption
|
||||||
(types.enum [
|
(types.enum [
|
||||||
"0"
|
0
|
||||||
"1"
|
1
|
||||||
"*"
|
"*"
|
||||||
"?"
|
"?"
|
||||||
"+"
|
"+"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"W" = {
|
"W" = {
|
||||||
command = ":w<CR>";
|
command = ":w<CR>";
|
||||||
desc = "Write file";
|
desc = "Write file";
|
||||||
|
nargs = 0;
|
||||||
};
|
};
|
||||||
"Z" = {
|
"Z" = {
|
||||||
command = ":echo fooo<CR>";
|
command = ":echo fooo<CR>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue