mirror of
https://github.com/nix-community/nixvim.git
synced 2025-09-01 08:16:40 +02:00
plugins: cleanup most extraConfig
args
- Remove `cfg` where it is unused. - Use `opts` where necessary.
This commit is contained in:
parent
63cfc84abe
commit
7b94afceaf
22 changed files with 98 additions and 99 deletions
|
@ -316,5 +316,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -251,5 +251,7 @@ lib.nixvim.vim-plugin.mkVimPlugin {
|
|||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,5 +10,7 @@ lib.nixvim.vim-plugin.mkVimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -108,5 +108,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
on_highlights = "function(highlights, colors) end";
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,5 +21,7 @@ lib.nixvim.vim-plugin.mkVimPlugin {
|
|||
allow_italics = true;
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,5 +10,7 @@ lib.nixvim.vim-plugin.mkVimPlugin {
|
|||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -154,5 +154,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
before_highlight = "function(group, highlight, palette) end";
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -177,5 +177,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
on_highlights = "function(highlights, colors) end";
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
extraConfig = {
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue