plugins/catppuccin: add disableUnderline option (#669)

* plugins/catppuccin: add `disableUnderline` option

* re-test?

* fix ci
This commit is contained in:
mrtnvgr 2023-10-27 12:55:04 +07:00 committed by GitHub
parent e1138cda39
commit 315bc508ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View file

@ -62,6 +62,8 @@ in {
disableBold = helpers.defaultNullOpts.mkBool false "Force no bold"; disableBold = helpers.defaultNullOpts.mkBool false "Force no bold";
disableUnderline = helpers.defaultNullOpts.mkBool false "Force no underline";
styles = { styles = {
comments = comments =
helpers.defaultNullOpts.mkNullable (types.listOf types.str) helpers.defaultNullOpts.mkNullable (types.listOf types.str)
@ -326,6 +328,7 @@ in {
dim_inactive = dimInactive; dim_inactive = dimInactive;
no_italic = disableItalic; no_italic = disableItalic;
no_bold = disableBold; no_bold = disableBold;
no_underline = disableUnderline;
color_overrides = colorOverrides; color_overrides = colorOverrides;
custom_highlights = custom_highlights =
helpers.ifNonNull' cfg.customHighlights helpers.ifNonNull' cfg.customHighlights

View file

@ -4,7 +4,7 @@
colorschemes.catppuccin.enable = true; colorschemes.catppuccin.enable = true;
}; };
# All the upstream default options of poimandres # All the upstream default options of catppuccin
defaults = { defaults = {
colorschemes.catppuccin = { colorschemes.catppuccin = {
enable = true; enable = true;
@ -14,15 +14,13 @@
dark = "mocha"; dark = "mocha";
}; };
transparentBackground = false; transparentBackground = false;
terminalColors = true; terminalColors = false;
showBufferEnd = false; showBufferEnd = false;
dimInactive = { dimInactive = {
enabled = true; enabled = true;
shade = "dark"; shade = "dark";
percentage = 0.15; percentage = 0.15;
}; };
disableItalic = true;
disableBold = true;
styles = { styles = {
comments = ["italic"]; comments = ["italic"];
conditionals = ["italic"]; conditionals = ["italic"];
@ -58,6 +56,10 @@
terminalColors = true; terminalColors = true;
colorOverrides.mocha.base = "#1e1e2f"; colorOverrides.mocha.base = "#1e1e2f";
disableItalic = true;
disableBold = true;
disableUnderline = true;
integrations = { integrations = {
barbar = true; barbar = true;
fidget = true; fidget = true;