diff --git a/lua/nvim-treesitter-refactor/highlight_current_scope.lua b/lua/nvim-treesitter-refactor/highlight_current_scope.lua index e452861..9ab863b 100644 --- a/lua/nvim-treesitter-refactor/highlight_current_scope.lua +++ b/lua/nvim-treesitter-refactor/highlight_current_scope.lua @@ -30,8 +30,8 @@ function M.attach(bufnr) cmd(string.format('augroup NvimTreesitterCurrentScope_%d', bufnr)) cmd 'au!' -- luacheck: push ignore 631 - cmd(string.format([[autocmd CursorMoved lua require'nvim-treesitter.refactor.highlight_current_scope'.highlight_current_scope(%d)]], bufnr, bufnr)) - cmd(string.format([[autocmd BufLeave lua require'nvim-treesitter.refactor.highlight_current_scope'.clear_highlights(%d)]], bufnr, bufnr)) + cmd(string.format([[autocmd CursorMoved lua require'nvim-treesitter-refactor.highlight_current_scope'.highlight_current_scope(%d)]], bufnr, bufnr)) + cmd(string.format([[autocmd BufLeave lua require'nvim-treesitter-refactor.highlight_current_scope'.clear_highlights(%d)]], bufnr, bufnr)) -- luacheck: pop cmd 'augroup END' end