mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
statusline/lualine: Move helper to lib
This commit is contained in:
parent
11a974a111
commit
2a809a64ff
3 changed files with 27 additions and 25 deletions
|
@ -44,4 +44,6 @@
|
|||
)
|
||||
)
|
||||
+ " }";
|
||||
# Convert a list of lua expressions to a lua table. The difference to listToLuaTable is that the elements here are expected to be lua expressions already, whereas listToLuaTable converts from nix types to lua first
|
||||
luaTable = items: ''{${builtins.concatStringsSep "," items}}'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue