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/org.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lua/lexers/org.lua') diff --git a/lua/lexers/org.lua b/lua/lexers/org.lua index 4ae38c5..14e2af4 100644 --- a/lua/lexers/org.lua +++ b/lua/lexers/org.lua @@ -31,9 +31,9 @@ lex:add_rule('italic', lex:tag('ITALIC', '/' * lexer.word * '/')) lex:add_rule('underline', lex:tag('UNDERLINE', '_' * lexer.alnum * '_')) -- ToDos. -lex:add_rule('todo', lex:tag('TODO', lex:word_match('TODO'))) +lex:add_rule('settled', lex:tag('SETTLED', lex:word_match('SETTLED'))) lex:add_rule('done', lex:tag('DONE', lex:word_match('DONE'))) -lex:add_rule('wontfix', lex:tag('WONTFIX', lex:word_match('WONTFIX'))) +lex:add_rule('waiting', lex:tag('WAITING', lex:word_match('WAITING'))) -- DateTime. local DD = lexer.digit * lexer.digit @@ -75,11 +75,11 @@ local block_comment = lexer.range(lexer.starts_line('#+BEGIN_COMMENT'), lex:add_rule('comment', lex:tag(lexer.COMMENT, block_comment + line_comment)) -- Word lists. -lex:set_word_list('TODO', {'TODO', 'DELEGATED', 'WAITING'}) +lex:set_word_list('SETTLED', {'TODO', 'DELEGATED'}) -lex:set_word_list('DONE', {'DONE'}) +lex:set_word_list('DONE', {'DONE', 'INVALID', 'WONTFIX'}) -lex:set_word_list('WONTFIX', {'WONTFIX', 'INVALID'}) +lex:set_word_list('WAITING', {'WAITING'}) lex:set_word_list('wday', { 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa', 'So', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun', 'Po', -- cgit v1.2.3