summaryrefslogtreecommitdiff
path: root/src/display_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/display_buffer.cc')
-rw-r--r--src/display_buffer.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/display_buffer.cc b/src/display_buffer.cc
index e7e2da54..7df0aa1e 100644
--- a/src/display_buffer.cc
+++ b/src/display_buffer.cc
@@ -280,6 +280,11 @@ DisplayLine parse_display_line(StringView line, const FaceRegistry& faces, const
// closing is now at the first char of "}}", advance it to the second
++closing;
}
+ else if (closing == it+2 and *(it+1) == '\\')
+ {
+ pos = closing + 1;
+ break;
+ }
else
face = faces[{it+1, closing}];
it = closing;