diff options
author | w0rp <devw0rp@gmail.com> | 2019-05-17 22:08:03 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-05-17 22:08:03 +0100 |
commit | 652d991077ac3261e51abfa51d979774a555b405 (patch) | |
tree | 9999bca754373a43f731df27e4269a3149e12a15 /autoload | |
parent | e6745a38118068dbfe8246041de17a5f5c5bf149 (diff) | |
download | ale-652d991077ac3261e51abfa51d979774a555b405.zip |
Fix #1317 - Jump to column 1 for problems at column 0
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/loclist_jumping.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/loclist_jumping.vim b/autoload/ale/loclist_jumping.vim index 1d3ef7e5..55097d12 100644 --- a/autoload/ale/loclist_jumping.vim +++ b/autoload/ale/loclist_jumping.vim @@ -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 |