aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/textobject-lexer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/textobject-lexer.lua')
-rw-r--r--lua/plugins/textobject-lexer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/textobject-lexer.lua b/lua/plugins/textobject-lexer.lua
index fc4876b..2f9d757 100644
--- a/lua/plugins/textobject-lexer.lua
+++ b/lua/plugins/textobject-lexer.lua
@@ -4,7 +4,7 @@ local MAX_CONTEXT = 32768
vis:textobject_new("ii", function(win, pos)
- if win.syntax == nil or not vis.lexers then
+ if not win.syntax or not vis.lexers.load then
return nil
end