diff options
| author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2025-10-01 12:30:00 +0200 |
|---|---|---|
| committer | Matěj Cepl <mcepl@cepl.eu> | 2025-11-28 03:10:24 +0100 |
| commit | bb94e22d3423fe458de4bc9621379ddebb7fe7e3 (patch) | |
| tree | e74abacfa6de8945caf62e7ca3a2eddbad378e93 /lua/lexers/org.lua | |
| parent | 2c127cc425d8d01e865440d1fde598df9dc8471d (diff) | |
| download | vis-bb94e22d3423fe458de4bc9621379ddebb7fe7e3.tar.gz vis-bb94e22d3423fe458de4bc9621379ddebb7fe7e3.tar.xz | |
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.
Diffstat (limited to 'lua/lexers/org.lua')
| -rw-r--r-- | lua/lexers/org.lua | 10 |
1 files changed, 5 insertions, 5 deletions
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', |
