mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 23:45:31 +00:00
Cleanup after makeing build module
This commit is contained in:
parent
44959a0c8a
commit
9b524fbe1c
5 changed files with 15 additions and 423 deletions
|
|
@ -6,30 +6,7 @@
|
|||
}: let
|
||||
inherit (lib.options) mkOption;
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit
|
||||
(lib.types)
|
||||
bool
|
||||
enum
|
||||
ints
|
||||
listOf
|
||||
package
|
||||
str
|
||||
;
|
||||
inherit
|
||||
(builtins)
|
||||
attrNames
|
||||
concatLists
|
||||
concatStringsSep
|
||||
elem
|
||||
elemAt
|
||||
filter
|
||||
hasAttr
|
||||
isAttrs
|
||||
length
|
||||
map
|
||||
throw
|
||||
toString
|
||||
;
|
||||
inherit (lib.types) bool listOf package str ;
|
||||
|
||||
cfg = config.vim.languages.tex;
|
||||
|
||||
|
|
@ -81,6 +58,8 @@ in {
|
|||
vim.languages.tex.build.builder = {
|
||||
name = "custom";
|
||||
args = collateArgs cfg.build;
|
||||
package = cfg.build.builders.custom.package;
|
||||
executable = cfg.build.builders.custom.executable;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue