Draft: modules #1

Draft
pleshevskiy wants to merge 15 commits from modules into main
Showing only changes of commit 8933762c5c - Show all commits

View file

@ -11,14 +11,16 @@
}: }:
let inherit (builtins) concatLists attrValues mapAttrs; in let inherit (builtins) concatLists attrValues mapAttrs; in
let
baseConfigs = {
neoformat_try_node_exe = 1;
neoformat_only_msg_on_error = 1;
};
in
{ {
neoformat = concatLists [ neoformat = concatLists [
[ (attrValues (mapAttrs vim.g (baseConfigs // configs)))
(vim.g "neoformat_try_node_exe" 1)
(vim.g "neoformat_only_msg_on_error" 1)
]
(attrValues (mapAttrs vim.g configs))
[ [
(vim.cmd' '' (vim.cmd' ''