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

@ -71,15 +71,15 @@ in {
[
cfg.package
]
++ optional (!isNull cfg.theme) vim-airline-themes;
++ optional (cfg.theme != null) vim-airline-themes;
globals =
{
airline.extensions = cfg.extensions;
airline_statusline_ontop = mkIf cfg.onTop 1;
airline_powerline_fonts = mkIf (cfg.powerline) 1;
airline_powerline_fonts = mkIf cfg.powerline 1;
airline_theme = mkIf (!isNull cfg.theme) cfg.theme;
airline_theme = mkIf (cfg.theme != null) cfg.theme;
}
// sections;
};