mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 12:28:32 +00:00
Compare commits
15 commits
843db1e334
...
76bf39bf1c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
76bf39bf1c | ||
![]() |
a2719697d9 | ||
![]() |
50dc44ffc9 | ||
![]() |
85a0c6d9f0 | ||
![]() |
6d106d8b15 | ||
![]() |
ef12c1c130 | ||
![]() |
77feae2ab1 | ||
![]() |
4f95a002d7 | ||
![]() |
57ebd22f15 | ||
![]() |
cdb18a1359 | ||
![]() |
28a7ae964d | ||
![]() |
a18f4ed336 | ||
![]() |
d32d1d7532 | ||
![]() |
f355cf7009 | ||
![]() |
95e9e3bd2d |
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
inherit (lib.nvim.dag) entryBefore;
|
inherit (lib.nvim.dag) entryBefore;
|
||||||
cfg = config.vim.lazy;
|
cfg = config.vim.lazy;
|
||||||
|
|
||||||
toLuaLznKeySpec = {
|
toLuzLznKeySpec = {
|
||||||
desc,
|
desc,
|
||||||
noremap,
|
noremap,
|
||||||
expr,
|
expr,
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
|
|
||||||
keys =
|
keys =
|
||||||
if typeOf spec.keys == "list" && length spec.keys > 0 && typeOf (head spec.keys) == "set"
|
if typeOf spec.keys == "list" && length spec.keys > 0 && typeOf (head spec.keys) == "set"
|
||||||
then map toLuaLznKeySpec (filter (keySpec: keySpec.key != null) spec.keys)
|
then filter (keySpec: keySpec."@1" != null) (map toLuzLznKeySpec spec.keys)
|
||||||
# empty list or str or (listOf str)
|
# empty list or str or (listOf str)
|
||||||
else spec.keys;
|
else spec.keys;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue