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/xml.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/lexers/xml.lua') diff --git a/lua/lexers/xml.lua b/lua/lexers/xml.lua index 8f297e9..64932cc 100644 --- a/lua/lexers/xml.lua +++ b/lua/lexers/xml.lua @@ -61,11 +61,12 @@ local general = lex:tag(lexer.CONSTANT .. '.entity', '&' * identifier * ';') lex:add_rule('entity', predefined + general) -- Fold Points. +lex:add_fold_point(lexer.COMMENT, '') +lex:add_fold_point('cdata', '') local function disambiguate_lt(text, pos, line, s) return not line:find('^', -1) -lex:add_fold_point(lexer.COMMENT, '') -lex:add_fold_point('cdata', '') +lex:add_fold_point(lexer.TAG, '?>', -1) lexer.property['scintillua.comment'] = '' lexer.property['scintillua.angle.braces'] = '1' -- cgit v1.2.3