From 78fd2201b9d9027a2e0961a9a74e3b6ff604de6d Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Fri, 11 Aug 2023 11:44:53 -0600 Subject: lua: update default plugins to work with scintillua 6.2 vis{,-std}.lua: * replace removed _TOKENSTYLES with _TAGS * don't add default styles to the lexer. lexers no longer define their own styles filetype.lua: update path detection for scintillua 6.2 --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins/filetype.lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index cdffbfc..defdc9b 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -512,7 +512,7 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) vis:command(cmd) end if not vis.lexers.property then return end - local path = vis.lexers.property['lexer.lpeg.home']:gsub(';', '/?.lua;') .. '/?.lua' + local path = vis.lexers.property['scintillua.lexers'] local lexname = filetype.alt_name or syntax local lexpath = package.searchpath('lexers/'..lexname, path) if lexpath ~= nil then -- cgit v1.2.3