mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-09 22:14:45 +08:00
[fzf#vim#grep] Go to the correct column by using cursor function instead of |
Ceci n'est pas une pipe. Fix #1173 Fix #1174
This commit is contained in:
@@ -741,7 +741,7 @@ function! s:ag_handler(lines, has_column)
|
|||||||
call s:open(cmd, first.filename)
|
call s:open(cmd, first.filename)
|
||||||
execute first.lnum
|
execute first.lnum
|
||||||
if a:has_column
|
if a:has_column
|
||||||
execute 'normal!' first.col.'|'
|
call cursor(0, first.col)
|
||||||
endif
|
endif
|
||||||
normal! zz
|
normal! zz
|
||||||
catch
|
catch
|
||||||
|
|||||||
Reference in New Issue
Block a user