Repository navigation
New lexers
console: shell sessions. Lines starting with a$prompt are highlighted as bash (including\line continuations), every other line is styled as program output.etlua: etlua templates, HTML with embedded Lua inside<% %>,<%= %>and<%- %>tags.sql: replaces the vendored textadept SQL lexer. Full operator set, PostgreSQL keywords,$1style parameters, function calls, and backtick quoted identifiers.
Lexer updates
moonscript- String interpolation:
#{}inside double quoted strings is highlighted as code, including nested strings and tables. @@class references are highlighted as self references.nil,trueandfalseare now constants instead of keywords.- LuaJIT
LL/ULLinteger suffixes are supported. - Removed the old MoonScript 0.3.1 standard library functions (
p,extend,mixin, etc.) from the library list.
- String interpolation:
nginx: rewritten. Directives are detected by position rather than a fixed word list, so any directive is highlighted.*_by_lua_blockbodies are highlighted as Lua. Variables now cover${var},$1regex captures, and${{var}}from Lapis config templates, and etlua style<% %>template tags are supported.
Other changes
highlight_to_htmltreats any token type ending inwhitespaceas whitespace, so lexers that embed one language in another (eg.lua_whitespace) don't produce extra spans.- Fixed the rockspec source URL to use
git+https://, since GitHub no longer supportsgit://.
Full Changelog: v1.0.0...v1.1.0