Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Escape the same characters in the highlighter
A lexer may hand back the bytes of one separator, or the CR and LF of a line ending, in different tokens, so line endings become line feeds before lexing and the separators are escaped once the tokens are joined.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/test-syntax-highlight.lua29
-rwxr-xr-xtests/t0502-syntax-highlight.sh11
2 files changed, 40 insertions, 0 deletions