perform some statix linting and fixes

This commit is contained in:
Tanish2002 2023-05-22 15:45:47 +05:30 committed by Gaétan Lepage
parent eee375e97e
commit efdcbe225f
57 changed files with 196 additions and 221 deletions

View file

@ -331,10 +331,10 @@ in {
optionName: funcName: let
key = cfg.keymaps.${optionName};
in
mkIf (!isNull key) {
mkIf (key != null) {
${key} = {
action = "<Cmd>Buffer${funcName}<CR>";
silent = cfg.keymaps.silent;
inherit (cfg.keymaps) silent;
};
}
)

View file

@ -305,7 +305,7 @@ in {
inherit (cfg) offsets;
groups = helpers.ifNonNull' cfg.groups {
inherit (cfg.groups) items;
options = helpers.ifNonNull' (cfg.groups.options) {
options = helpers.ifNonNull' cfg.groups.options {
toggle_hidden_on_enter = cfg.groups.options.toggleHiddenOnEnter;
};
};