fix: update autocmd for CursorMoved event in selection.lua (#1848)
This commit is contained in:
@@ -311,7 +311,7 @@ function Selection:setup_autocmds()
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI" }, {
|
api.nvim_create_autocmd({ "CursorMoved" }, {
|
||||||
group = self.augroup,
|
group = self.augroup,
|
||||||
callback = function(ev)
|
callback = function(ev)
|
||||||
if not Utils.is_sidebar_buffer(ev.buf) then
|
if not Utils.is_sidebar_buffer(ev.buf) then
|
||||||
|
|||||||
Reference in New Issue
Block a user