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

@ -92,7 +92,7 @@ in {
options =
{
extensions = cfg.extensionConfig;
defaults = cfg.defaults;
inherit (cfg) defaults;
}
// cfg.extraOptions;
in ''

View file

@ -56,7 +56,7 @@ in {
default_workspace = cfg.defaultWorkspace;
ignore_patterns = cfg.ignorePatterns;
show_scores = cfg.showScores;
workspaces = cfg.workspaces;
inherit (cfg) workspaces;
show_unindexed = cfg.showUnindexed;
devicons_disabled = cfg.deviconsDisabled;
};

View file

@ -36,7 +36,7 @@ in {
config = let
configuration = {
fuzzy = cfg.fuzzy;
inherit (cfg) fuzzy;
override_generic_sorter = cfg.overrideGenericSorter;
override_file_sorter = cfg.overrideFileSorter;
case_mode = cfg.caseMode;