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/extensions/fake-lexers/lexer.lua')
-rw-r--r--tests/extensions/fake-lexers/lexer.lua14
1 file changed, 5 insertions, 9 deletions