summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/state.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-treesitter/state.lua')
-rw-r--r--lua/nvim-treesitter/state.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/state.lua b/lua/nvim-treesitter/state.lua
index d682bd28..adff7eea 100644
--- a/lua/nvim-treesitter/state.lua
+++ b/lua/nvim-treesitter/state.lua
@@ -28,8 +28,8 @@ function M.update()
local row = cursor[1]
local col = cursor[2]
if row == buf_config.cursor_pos.row
- and col == buf_config.cursor_pos.col
- and mode == g_mode
+ and col == buf_config.cursor_pos.col
+ and mode == g_mode
then
return
end