diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-05-22 17:04:46 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2020-05-22 17:07:28 +0200 |
| commit | 3b3a692e2cd26eae9cd2d591133101790153163e (patch) | |
| tree | 2b7b6c514c9431b973d8d1ae4a4ff68188f3ce60 /lua/nvim-treesitter/state.lua | |
| parent | d8328b8e1c36739c61e413366c9395ceb2397ce9 (diff) | |
Remove postspaces and avoid one global
Diffstat (limited to 'lua/nvim-treesitter/state.lua')
| -rw-r--r-- | lua/nvim-treesitter/state.lua | 4 |
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 |
