summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorDavid Hotham <david.hotham@metaswitch.com>2018-08-27 13:52:49 +0100
committerDavid Hotham <david.hotham@metaswitch.com>2018-08-27 13:53:40 +0100
commitaef11cc0d2bca89e98aacee0c42ac9b551deea02 (patch)
treee74fb886eebb3508fec2fdcc45152d89d8f5f7ba /autoload
parent9d7c48038cbbc696fe2d1e9c4b2d9eff2dd726c3 (diff)
downloadale-aef11cc0d2bca89e98aacee0c42ac9b551deea02.zip
Fix out-by-one error in column on goto-definition
Fixes #1860
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/definition.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/definition.vim b/autoload/ale/definition.vim
index 18bec988..18cda940 100644
--- a/autoload/ale/definition.vim
+++ b/autoload/ale/definition.vim
@@ -49,7 +49,7 @@ function! ale#definition#HandleLSPResponse(conn_id, response) abort
for l:item in l:result
let l:filename = ale#path#FromURI(l:item.uri)
let l:line = l:item.range.start.line + 1
- let l:column = l:item.range.start.character
+ let l:column = l:item.range.start.character + 1
call ale#util#Open(l:filename, l:line, l:column, l:options)
break