diff options
Diffstat (limited to 'lua/vis-std.lua')
| -rw-r--r-- | lua/vis-std.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/vis-std.lua b/lua/vis-std.lua index f7dc4f5..01d137a 100644 --- a/lua/vis-std.lua +++ b/lua/vis-std.lua @@ -39,7 +39,7 @@ end, "Number of bytes to consider for syntax highlighting") vis.events.subscribe(vis.events.WIN_HIGHLIGHT, function(win) if win.syntax == nil or vis.lexers == nil then return end - local lexer = vis.lexers.load(win.syntax) + local lexer = vis.lexers.load(win.syntax, nil, true) if lexer == nil then return end -- TODO: improve heuristic for initial style |
