mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
plugins/flash: init + tests (#625)
This commit is contained in:
parent
bab56daddb
commit
0a31f39447
4 changed files with 654 additions and 0 deletions
|
@ -51,6 +51,10 @@ with lib; rec {
|
|||
then "nil"
|
||||
else "";
|
||||
|
||||
listToUnkeyedAttrs = list:
|
||||
builtins.listToAttrs
|
||||
(lib.lists.imap0 (idx: lib.nameValuePair "__unkeyed-${toString idx}") list);
|
||||
|
||||
emptyTable = {"__empty" = null;};
|
||||
|
||||
highlightType = with lib.types;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue