mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-09 22:14:44 +08:00
Center the line within the viewport after a jump
This commit is contained in:
@@ -112,6 +112,7 @@ function! ale#util#Open(filename, line, column, options) abort
|
|||||||
|
|
||||||
call cursor(a:line, a:column)
|
call cursor(a:line, a:column)
|
||||||
redraw!
|
redraw!
|
||||||
|
normal zz
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let g:ale#util#error_priority = 5
|
let g:ale#util#error_priority = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user