From bb94e22d3423fe458de4bc9621379ddebb7fe7e3 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Wed, 1 Oct 2025 12:30:00 +0200 Subject: lua/lexers: synchronization with new release scintillua_6.6 Bugfixes: - Fixed Pascal numeric literals. - Fixed folding of HTML/XML comments and XML processing instructions. - Fixed incorrectly highlighting '..' range operators between numbers. Changes: - Added Janet and todo.txt lexers. - Updated Python lexer to recognize t-strings. - Migrated ini and Dart lexers. - Updated org lexer word lists. --- lua/lexers/html.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lexers/html.lua') diff --git a/lua/lexers/html.lua b/lua/lexers/html.lua index ed06805..2f3ec6b 100644 --- a/lua/lexers/html.lua +++ b/lua/lexers/html.lua @@ -60,6 +60,7 @@ lex:add_rule('entity', lex:tag(lexer.CONSTANT_BUILTIN .. '.entity', '&' * (lexer.any - lexer.space - ';')^1 * ';')) -- Fold points. +lex:add_fold_point(lexer.COMMENT, '') local function disambiguate_lt(text, pos, line, s) if line:find('/>', s) then return 0 @@ -70,7 +71,6 @@ local function disambiguate_lt(text, pos, line, s) end end lex:add_fold_point(lexer.TAG .. '.chars', '<', disambiguate_lt) -lex:add_fold_point(lexer.COMMENT, '') -- Tags that start embedded languages. -- Export these patterns for proxy lexers (e.g. ASP) that need them. -- cgit v1.2.3