mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
Remove postspaces and avoid one global
This commit is contained in:
parent
d8328b8e1c
commit
3b3a692e2c
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue