Skip to content

Commit

Permalink
Highlight on win scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi authored and theHamsta committed May 13, 2022
1 parent 92813bc commit b5b8c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim-treesitter-refactor/highlight_current_scope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function M.attach(bufnr)
-- luacheck: push ignore 631
cmd(
string.format(
[[autocmd CursorMoved <buffer=%d> lua require'nvim-treesitter-refactor.highlight_current_scope'.highlight_current_scope(%d)]],
[[autocmd CursorMoved,WinScrolled <buffer=%d> lua require'nvim-treesitter-refactor.highlight_current_scope'.highlight_current_scope(%d)]],
bufnr,
bufnr
)
Expand Down

0 comments on commit b5b8c80

Please sign in to comment.