mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
perform some statix linting and fixes
This commit is contained in:
parent
eee375e97e
commit
efdcbe225f
57 changed files with 196 additions and 221 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
)
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue