Draft: modules #1
1 changed files with 8 additions and 6 deletions
|
@ -11,14 +11,16 @@
|
|||
}:
|
||||
|
||||
let inherit (builtins) concatLists attrValues mapAttrs; in
|
||||
let
|
||||
baseConfigs = {
|
||||
neoformat_try_node_exe = 1;
|
||||
neoformat_only_msg_on_error = 1;
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
neoformat = concatLists [
|
||||
[
|
||||
(vim.g "neoformat_try_node_exe" 1)
|
||||
(vim.g "neoformat_only_msg_on_error" 1)
|
||||
]
|
||||
|
||||
(attrValues (mapAttrs vim.g configs))
|
||||
(attrValues (mapAttrs vim.g (baseConfigs // configs)))
|
||||
|
||||
[
|
||||
(vim.cmd' ''
|
||||
|
|
Reference in a new issue