aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/lexer.lua
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2025-10-01 12:30:00 +0200
committerMatěj Cepl <mcepl@cepl.eu>2025-11-28 03:10:24 +0100
commitbb94e22d3423fe458de4bc9621379ddebb7fe7e3 (patch)
treee74abacfa6de8945caf62e7ca3a2eddbad378e93 /lua/lexers/lexer.lua
parent2c127cc425d8d01e865440d1fde598df9dc8471d (diff)
downloadvis-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/lexer.lua')
-rw-r--r--lua/lexers/lexer.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/lexers/lexer.lua b/lua/lexers/lexer.lua
index 509a5e2..7251ed2 100644
--- a/lua/lexers/lexer.lua
+++ b/lua/lexers/lexer.lua
@@ -1742,6 +1742,7 @@ function M.detect(filename, line)
ni = 'inform', --
cfg = 'ini', cnf = 'ini', inf = 'ini', ini = 'ini', reg = 'ini', --
io = 'io_lang', --
+ janet = 'janet', --
bsh = 'java', java = 'java', --
js = 'javascript', jsfl = 'javascript', --
jq = 'jq', --
@@ -1771,7 +1772,7 @@ function M.detect(filename, line)
m = 'objective_c', mm = 'objective_c', objc = 'objective_c', --
caml = 'caml', ml = 'caml', mli = 'caml', mll = 'caml', mly = 'caml', --
org = 'org', --
- dpk = 'pascal', dpr = 'pascal', p = 'pascal', pas = 'pascal', --
+ dpk = 'pascal', dpr = 'pascal', p = 'pascal', pas = 'pascal', pp = 'pascal', --
al = 'perl', perl = 'perl', pl = 'perl', pm = 'perl', pod = 'perl', --
inc = 'php', php = 'php', php3 = 'php', php4 = 'php', phtml = 'php', --
p8 = 'pico8', --
@@ -1811,6 +1812,8 @@ function M.detect(filename, line)
taskpaper = 'taskpaper', --
tcl = 'tcl', tk = 'tcl', --
texi = 'texinfo', --
+ ['todo.txt'] = 'todotxt', ['Todo.txt'] = 'todotxt', ['done.txt'] = 'todotxt',
+ ['Done.txt'] = 'todotxt', --
toml = 'toml', --
['1'] = 'troff', ['2'] = 'troff', ['3'] = 'troff', ['4'] = 'troff', ['5'] = 'troff',
['6'] = 'troff', ['7'] = 'troff', ['8'] = 'troff', ['9'] = 'troff', ['1x'] = 'troff',