summaryrefslogtreecommitdiff
path: root/runtime/themes/onedark.toml
diff options
context:
space:
mode:
authorGokul Soumya2022-09-07 11:58:58 +0000
committerPascal Kuthe2022-10-01 15:00:40 +0000
commit79d3d44c3db48365597eefd274e868bc1e15de57 (patch)
tree3559faa4b36bb844a990e4986bccab5caf4d9306 /runtime/themes/onedark.toml
parentde72b9c04caf1fe12fd6076646657c456403c229 (diff)
Detect extended underline support using terminfo
The cxterminfo crate has been used over popular alternatives like `term` since it supports querying for extended capabilities and also for it's small codebase size (which will make it easy to inline it into helix in the future if required).
Diffstat (limited to 'runtime/themes/onedark.toml')
-rw-r--r--runtime/themes/onedark.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/themes/onedark.toml b/runtime/themes/onedark.toml
index a4cc12eb..e2bc2c47 100644
--- a/runtime/themes/onedark.toml
+++ b/runtime/themes/onedark.toml
@@ -39,7 +39,10 @@
"diff.delta" = "gold"
"diff.minus" = "red"
-diagnostic = { modifiers = ["undercurled"] }
+"diagnostic.info" = { underline = "blue", modifiers = ["undercurled"] }
+"diagnostic.hint" = { underline = "green", modifiers = ["undercurled"] }
+"diagnostic.warning" = { underline = "yellow", modifiers = ["undercurled"] }
+"diagnostic.error" = { underline = "red", modifiers = ["undercurled"] }
"info" = { fg = "blue", modifiers = ["bold"] }
"hint" = { fg = "green", modifiers = ["bold"] }
"warning" = { fg = "yellow", modifiers = ["bold"] }