Skip to content

Commit

Permalink
feat(list): add CocListMoved event (#5160)
Browse files Browse the repository at this point in the history
Closes #5093
  • Loading branch information
fannheyward authored Oct 31, 2024
1 parent 5fdf3d6 commit 13751e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/list/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ export class ListManager implements Disposable {

public triggerCursorMoved(): void {
if (this.nvim.isVim) this.nvim.command('doautocmd <nomodeline> CursorMoved', true)
this.nvim.call('coc#util#do_autocmd', ['CocListMoved'], true)
}

public async call(fname: string): Promise<any> {
Expand Down

0 comments on commit 13751e1

Please sign in to comment.