forked from aniani/vim
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier
Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user