mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-15 15:07:48 +00:00
modules: move local functions to extended library
This commit is contained in:
parent
b4b8a845f1
commit
f70238d539
6 changed files with 63 additions and 527 deletions
15
lib/build.nix
Normal file
15
lib/build.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
# TODO: give those section indicators
|
||||
# maybe using mkSection?
|
||||
wrapLuaConfig = {
|
||||
luaConfigBefore,
|
||||
luaConfig,
|
||||
luaConfigAfter,
|
||||
}: ''
|
||||
lua << EOF
|
||||
${luaConfigBefore}
|
||||
${luaConfig}
|
||||
${luaConfigAfter}
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue