Skip to content

Commit

Permalink
Highlight on win scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Mar 26, 2022
1 parent 17c4a93 commit f4967e0
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 f4967e0

Please sign in to comment.