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

View file

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