aboutsummaryrefslogtreecommitdiff
path: root/runtime/themes
diff options
context:
space:
mode:
authorPascal Kuthe2022-10-01 00:15:25 +0000
committerPascal Kuthe2022-10-01 17:29:46 +0000
commit71ee589bbc723e7a55585ddc2ca43c29ee93fabe (patch)
treef64805cc305349a2430cae837355e7ef6ee7546c /runtime/themes
parent79d3d44c3db48365597eefd274e868bc1e15de57 (diff)
make underline_style a seperate option
Underline styles are mutally exclusive and overwrite each other. Therefore implementing as an modifier lead to incorrect behaviour when the underline style is overwritten. For backwards compatability the "underline" modified is retained (but deprecated). Instead the "underline_style" and "underline_color" optios should be used to style underlines.
Diffstat (limited to 'runtime/themes')
-rw-r--r--runtime/themes/dark_plus.toml4
-rw-r--r--runtime/themes/onedark.toml8
2 files changed, 6 insertions, 6 deletions
diff --git a/runtime/themes/dark_plus.toml b/runtime/themes/dark_plus.toml
index d1a5756e..fa6b34ab 100644
--- a/runtime/themes/dark_plus.toml
+++ b/runtime/themes/dark_plus.toml
@@ -92,8 +92,8 @@
"info" = { fg = "light_blue" }
"hint" = { fg = "light_gray3" }
-"diagnostic.error" = {underline = "red", modifiers = ["undercurled"] }
-"diagnostic" = {underline = "gold", modifiers = ["undercurled"] }
+"diagnostic.error" = {underline_color = "red", underline_style = "curl"}
+"diagnostic" = {underline_color = "gold", underline_style = "curl" }
[palette]
white = "#ffffff"
diff --git a/runtime/themes/onedark.toml b/runtime/themes/onedark.toml
index e2bc2c47..5f337a8d 100644
--- a/runtime/themes/onedark.toml
+++ b/runtime/themes/onedark.toml
@@ -39,10 +39,10 @@
"diff.delta" = "gold"
"diff.minus" = "red"
-"diagnostic.info" = { underline = "blue", modifiers = ["undercurled"] }
-"diagnostic.hint" = { underline = "green", modifiers = ["undercurled"] }
-"diagnostic.warning" = { underline = "yellow", modifiers = ["undercurled"] }
-"diagnostic.error" = { underline = "red", modifiers = ["undercurled"] }
+"diagnostic.info" = { underline_color = "blue", underline_style = "curl" }
+"diagnostic.hint" = { underline_color = "green", underline_style = "curl" }
+"diagnostic.warning" = { underline_color = "yellow", underline_style = "curl" }
+"diagnostic.error" = { underline_color = "red", underline_style = "curl" }
"info" = { fg = "blue", modifiers = ["bold"] }
"hint" = { fg = "green", modifiers = ["bold"] }
"warning" = { fg = "yellow", modifiers = ["bold"] }