Compare commits

...

3 commits

Author SHA1 Message Date
raf
b99cf9b5e1
Merge e40cce5653 into fd90cf7fd5 2024-08-17 11:08:50 +00:00
Ching Pei Yang
e40cce5653
fix: map descriptions (#358)
* remove unused

* maps: fix missing description
2024-08-17 13:08:47 +02:00
fd90cf7fd5
flake: revert 37dbdbb06d4d99297ee94adf6733893242b979c7
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
The bald frog balded again...
2024-08-12 19:26:09 +03:00
3 changed files with 2020 additions and 2049 deletions

29
flake.lock generated
View file

@ -69,11 +69,11 @@
},
"mnw": {
"locked": {
"lastModified": 1723419050,
"narHash": "sha256-Eb8jBUgHwpte+bGsqeXNbKMBfZaDB7RiPQwyb1vzJK8=",
"lastModified": 1722191188,
"narHash": "sha256-YF//iMALbrd2Ni9aju7w8NniH16Qz6RFTRD6md5UkDc=",
"owner": "Gerg-L",
"repo": "mnw",
"rev": "e625f5965567f16102bc52897c7600dcde53c6c3",
"rev": "c7b289f3f5a31b6e744be37d83fc231816621231",
"type": "github"
},
"original": {
@ -84,10 +84,7 @@
},
"naersk": {
"inputs": {
"nixpkgs": [
"rnix-lsp",
"nixpkgs"
]
"nixpkgs": ["rnix-lsp", "nixpkgs"]
},
"locked": {
"lastModified": 1655042882,
@ -105,12 +102,8 @@
},
"nil": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
],
"flake-utils": ["flake-utils"],
"nixpkgs": ["nixpkgs"],
"rust-overlay": "rust-overlay"
},
"locked": {
@ -1939,14 +1932,8 @@
},
"rust-overlay": {
"inputs": {
"flake-utils": [
"nil",
"flake-utils"
],
"nixpkgs": [
"nil",
"nixpkgs"
]
"flake-utils": ["nil", "flake-utils"],
"nixpkgs": ["nil", "nixpkgs"]
},
"locked": {
"lastModified": 1714529851,

View file

@ -44,23 +44,7 @@
# legacy stuff
mapOption = submodule {
options =
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;
};
};
options = mapConfigOptions;
};
mapOptions = mode:

View file

@ -37,7 +37,7 @@ in {
else keymap.action;
getOpts = keymap: {
inherit (keymap) silent nowait script expr unique noremap;
inherit (keymap) desc silent nowait script expr unique noremap;
};
toLuaKeymap = {