Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Drop the highlighter's extension fallback
The table of extensions and the second lookup served only a Scintillua with no detect(), which now leaves every file uncoloured but escaped. The fake detect() names a lexer after the file's suffix, so every test lexer is reached through it.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/fake-lexers/lexer.lua14
-rw-r--r--tests/extensions/test-syntax-highlight.lua5
2 files changed, 5 insertions, 14 deletions