Use curl underlines in the rose_pine theme (#5267)

Also fixes the color "gold" being used for too many kinds of diagnostics, now there's a more conventional choice of diagnostics colors (redish = error, yellowish = warning, blueish = hint).
This commit is contained in:
cor 2022-12-23 15:03:54 +01:00 committed by GitHub
parent df1830ef28
commit b1ca7ddf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
# Author: RayGervais<raygervais@hotmail.ca>
# Author: ChrisHa<chunghha@users.noreply.github.com>
# Diagnostics patch author: cor<cor@pruijs.dev>
"ui.background" = { bg = "base" }
"ui.menu" = { fg = "text", bg = "overlay" }
@ -45,12 +46,18 @@
"diff.delta" = "rose"
"diff.minus" = "love"
"info" = "gold"
"hint" = "gold"
"info" = "foam"
"hint" = "iris"
"debug" = "rose"
"diagnostic" = "rose"
"warning" = "gold"
"error" = "love"
"diagnostic" = { modifiers = ["underlined"] }
"diagnostic.error" = { underline = { style = "curl", color = "love" } }
"diagnostic.warning" = { underline = { style = "curl", color = "gold" } }
"diagnostic.info" = { underline = { style = "curl", color = "foam" } }
"diagnostic.hint" = { underline = { style = "curl", color = "iris" } }
"markup.heading.marker" = "subtle"
"markup.heading.1" = { fg = "love", modifiers = ["bold"] }
"markup.heading.2" = { fg = "gold", modifiers = ["bold"] }