aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/filetype.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 391621d..553e79d 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -507,9 +507,9 @@ 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['scintillua.lexers']
+ local path = vis.lexers.property['scintillua.lexers']:gsub(';', '/?.lua;')
local lexname = filetype.alt_name or syntax
- local lexpath = package.searchpath('lexers/'..lexname, path)
+ local lexpath = package.searchpath(lexname, path)
if lexpath ~= nil then
win:set_syntax(lexname)
else