summaryrefslogtreecommitdiff
path: root/src/json_ui.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2022-12-13 12:14:29 +1100
committerMaxime Coste <mawww@kakoune.org>2022-12-13 12:14:29 +1100
commit36d1713b0973e1aa2ab2de6343f1185a70f62a0d (patch)
tree5fe8e8255b5eacec0ff274e169186f766544dc71 /src/json_ui.cc
parenta52bb9146e5673ceaf6081833cf7183fc3f7ff9d (diff)
Fix a couple bugs with underline highlighting
Add missing curly_underline attribute to json-rpc Fix underline color not correct after attrbute only change
Diffstat (limited to 'src/json_ui.cc')
-rw-r--r--src/json_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json_ui.cc b/src/json_ui.cc
index f5ae1f1f..8f0af46d 100644
--- a/src/json_ui.cc
+++ b/src/json_ui.cc
@@ -38,6 +38,7 @@ String to_json(Attribute attributes)
struct Attr { Attribute attr; StringView name; }
attrs[] {
{ Attribute::Underline, "underline" },
+ { Attribute::CurlyUnderline, "curly_underline" },
{ Attribute::Reverse, "reverse" },
{ Attribute::Blink, "blink" },
{ Attribute::Bold, "bold" },