Merge pull request #2277 from chaucerbao/feature/redraw-after-open
Center the result after `ale#util#Open` jumps
This commit is contained in:
commit
752e6f0ab9
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ function! ale#util#Open(filename, line, column, options) abort
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call cursor(a:line, a:column)
|
call cursor(a:line, a:column)
|
||||||
|
normal! zz
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let g:ale#util#error_priority = 5
|
let g:ale#util#error_priority = 5
|
||||||
|
|
Reference in a new issue