Fix #1317 - Jump to column 1 for problems at column 0

This commit is contained in:
w0rp
2019-05-17 22:08:03 +01:00
parent e6745a3811
commit 652d991077
2 changed files with 17 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ function! ale#loclist_jumping#Jump(direction, ...) abort
if !empty(l:nearest)
normal! m`
call cursor(l:nearest)
call cursor([l:nearest[0], max([l:nearest[1], 1])])
endif
endfunction