diff options
Diffstat (limited to 'lua/vis-std.lua')
| -rw-r--r-- | lua/vis-std.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/vis-std.lua b/lua/vis-std.lua index af2b196..4a6bfdf 100644 --- a/lua/vis-std.lua +++ b/lua/vis-std.lua @@ -17,6 +17,7 @@ vis:option_register("theme", "string", function(name) local lexers = vis.lexers lexers.lexers = {} + if not lexers.load then return false end if not lexers.property then lexers.load("text") end local colors = lexers.colors local default_colors = { "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white" } |
