diff options
author | w0rp <w0rp@users.noreply.github.com> | 2019-02-10 23:34:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-10 23:34:21 +0000 |
commit | 752e6f0ab9201483745caa052cada0afcd078d82 (patch) | |
tree | d9f07617d592f2d60e551ba6fa9292ab6e6da7ac /autoload | |
parent | 5dbac4ab9cedc4eed0d26d8d4cadff477a6543b2 (diff) | |
parent | 70b95f16c36b943ce17802730ce33e2691691f1e (diff) | |
download | ale-752e6f0ab9201483745caa052cada0afcd078d82.zip |
Merge pull request #2277 from chaucerbao/feature/redraw-after-open
Center the result after `ale#util#Open` jumps
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/util.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/util.vim b/autoload/ale/util.vim index ee9359f8..1ed6b0d1 100644 --- a/autoload/ale/util.vim +++ b/autoload/ale/util.vim @@ -111,6 +111,7 @@ function! ale#util#Open(filename, line, column, options) abort endif call cursor(a:line, a:column) + normal! zz endfunction let g:ale#util#error_priority = 5 |