diff options
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,7 +102,7 @@ local file_events = { for _, event in pairs(file_events) do vis.events.subscribe(vis.events[event], function(file, path) for win in vis:windows() do - vis:info("FILE win.file " .. win.file.name .. ", syntax " .. win.syntax) + -- vis:info("FILE win.file " .. win.file.name .. ", syntax " .. win.syntax) if win.file == file then if M.settings[win.syntax] and M.settings[win.syntax][event] then execute(M.settings[win.syntax][event], file, path) @@ -131,7 +131,7 @@ for _, event in pairs(win_events) do vis.events.subscribe(vis.events[event], function(win) if win.file and (win.syntax ~= nil) then -- vis:info("WIN win.file " .. win.file.name .. ", syntax " .. win.syntax .. ", settings " .. dump(M.settings[win.syntax])) - vis:info("WIN syntax " .. win.syntax .. ", partial set " .. dump(M.settings[win.syntax])) + -- vis:info("WIN syntax " .. win.syntax .. ", partial set " .. dump(M.settings[win.syntax])) end if M.settings[win.syntax] == nil then return end if M.settings[win.syntax] then |