summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-30 21:52:54 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-30 21:52:54 +0200
commitebe9d34aa07037cff2188a8dd424ee1f59cbb0bf (patch)
tree6e92c722c69a459f6537148ac8579c0fa4f27b85 /src/highlight.c
parent363d6148dfc2cc17fb0d286c7a36c305f56f5813 (diff)
patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855
Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 7a7e537f38..9da87f2152 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -1412,8 +1412,7 @@ do_highlight(
*/
for (p = arg, off = 0; off < 100 - 6 && *p; )
{
- len = trans_special(&p, buf + off, FALSE, FALSE,
- TRUE, NULL);
+ len = trans_special(&p, buf + off, FSK_SIMPLIFY, NULL);
if (len > 0) // recognized special char
off += len;
else // copy as normal char