diff options
author | w0rp <devw0rp@gmail.com> | 2019-05-30 10:26:09 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-05-30 10:26:17 +0100 |
commit | 27146ade32d6686fefde27de76b65bcdf353eab5 (patch) | |
tree | 981537646e5cd759c514648bb8afea379704769c /autoload | |
parent | 4f02edc3f882e6cb77b8dc03bc118172cfe5d857 (diff) | |
download | ale-27146ade32d6686fefde27de76b65bcdf353eab5.zip |
Fix #2544 - Completion positions are off by one
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/completion.vim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim index 9158f227..ee156056 100644 --- a/autoload/ale/completion.vim +++ b/autoload/ale/completion.vim @@ -521,10 +521,7 @@ function! s:OnReady(linter, lsp_details) abort let l:message = ale#lsp#message#Completion( \ l:buffer, \ b:ale_completion_info.line, - \ min([ - \ b:ale_completion_info.line_length, - \ b:ale_completion_info.column, - \ ]) + 1, + \ b:ale_completion_info.column, \ ale#completion#GetTriggerCharacter(&filetype, b:ale_completion_info.prefix), \) endif |