mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 16:45:07 +02:00
Rename options
to avoid confusion with module options (#1324)
This commit is contained in:
parent
acb917fbf2
commit
4f83bcf290
18 changed files with 33 additions and 43 deletions
|
@ -347,7 +347,7 @@ in {
|
|||
cfg.package
|
||||
nvim-web-devicons
|
||||
];
|
||||
options.termguicolors = true;
|
||||
opts.termguicolors = true;
|
||||
extraConfigLua = ''
|
||||
require('bufferline').setup${helpers.toLuaObject setupOptions}
|
||||
'';
|
||||
|
|
|
@ -104,7 +104,7 @@ with lib;
|
|||
plugins.lualine.theme = mkIf cfg.setUpBar "base16";
|
||||
plugins.lightline.colorscheme = null;
|
||||
|
||||
options.termguicolors = mkDefault true;
|
||||
opts.termguicolors = mkDefault true;
|
||||
}
|
||||
(mkIf (isString cfg.colorscheme) {
|
||||
colorscheme = "base16-${cfg.colorscheme}";
|
||||
|
|
|
@ -379,7 +379,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
colorscheme = "catppuccin";
|
||||
extraPlugins = [cfg.package];
|
||||
options = {termguicolors = true;};
|
||||
opts.termguicolors = true;
|
||||
extraConfigLuaPre = let
|
||||
setupOptions = with cfg; {
|
||||
inherit (cfg) flavour background styles integrations;
|
||||
|
|
|
@ -76,8 +76,6 @@ in {
|
|||
dracula_colorterm = mkIf (!cfg.colorterm) 0;
|
||||
};
|
||||
|
||||
options = {
|
||||
termguicolors = mkDefault true;
|
||||
};
|
||||
opts.termguicolors = mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -18,8 +18,6 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
colorscheme = "melange";
|
||||
extraPlugins = [cfg.package];
|
||||
options = {
|
||||
termguicolors = mkDefault true;
|
||||
};
|
||||
opts.termguicolors = mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,6 +25,6 @@ helpers.vim-plugin.mkVimPlugin config {
|
|||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
options.termguicolors = lib.mkDefault true;
|
||||
opts.termguicolors = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -20,8 +20,6 @@ in {
|
|||
colorscheme = "oxocarbon";
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
options = {
|
||||
termguicolors = mkDefault true;
|
||||
};
|
||||
opts.termguicolors = mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
colorscheme = "rose-pine";
|
||||
extraPlugins = [cfg.package];
|
||||
options = {termguicolors = true;};
|
||||
opts.termguicolors = true;
|
||||
extraConfigLuaPre = let
|
||||
setupOptions = with cfg; {
|
||||
inherit groups;
|
||||
|
|
|
@ -70,7 +70,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
colorscheme = "tokyonight";
|
||||
extraPlugins = [cfg.package];
|
||||
options = {termguicolors = true;};
|
||||
opts.termguicolors = true;
|
||||
extraConfigLuaPre = let
|
||||
setupOptions = with cfg; {
|
||||
inherit (cfg) style transparent styles sidebars;
|
||||
|
|
|
@ -182,7 +182,7 @@ in {
|
|||
mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
options = mkIf cfg.recommendedSettings {
|
||||
opts = mkIf cfg.recommendedSettings {
|
||||
updatetime = 100;
|
||||
foldtext = "gitgutter#fold#foldtext";
|
||||
};
|
||||
|
|
|
@ -220,7 +220,7 @@ in {
|
|||
]
|
||||
++ optional (cfg.gccPackage != null) cfg.gccPackage;
|
||||
|
||||
options = mkIf cfg.folding {
|
||||
opts = mkIf cfg.folding {
|
||||
foldmethod = "expr";
|
||||
foldexpr = "nvim_treesitter#foldexpr()";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue