Remove postspaces and avoid one global

This commit is contained in:
Stephan Seitz 2020-05-22 17:04:46 +02:00
parent d8328b8e1c
commit 3b3a692e2c
3 changed files with 6 additions and 6 deletions

View file

@ -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