Skip to content

Commit 0adc9b4

Browse files
committed
fix :doautocmd usage
1 parent 20e5b05 commit 0adc9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/vital/_easymotion/HitAHint/Motion.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@ function! s:move_to_winpos(winpos) abort
135135
let is_win_moved = !(winnr is# winnr())
136136
if is_win_moved
137137
if exists('#WinLeave')
138-
doautocmd WinLeave *
138+
doautocmd WinLeave
139139
endif
140140
call s:move_to_win(winnr)
141141
else
142142
normal! m`
143143
endif
144144
call cursor(pos)
145145
if is_win_moved && exists('#WinEnter')
146-
doautocmd WinEnter *
146+
doautocmd WinEnter
147147
endif
148148
endfunction
149149

0 commit comments

Comments
 (0)