summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Popp <8mayday@gmail.com>2019-01-21 23:19:47 +0300
committerAndrey Popp <8mayday@gmail.com>2019-01-21 23:19:47 +0300
commitbcf63eea96ae83a5557a779324b3c1c5ec59f990 (patch)
treea3ac65f99d791c128a0da3823f8323e08dd6c2c3
parente960e54eca5e6561aa95b72f798c17b213bdbfc2 (diff)
downloadale-bcf63eea96ae83a5557a779324b3c1c5ec59f990.zip
Request LSP completion for the next col after the cursor
-rw-r--r--autoload/ale/completion.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim
index 157cac36..9baf29fd 100644
--- a/autoload/ale/completion.vim
+++ b/autoload/ale/completion.vim
@@ -480,7 +480,7 @@ function! s:OnReady(linter, lsp_details, ...) abort
\ b:ale_completion_info.line,
\ min([
\ b:ale_completion_info.line_length,
- \ b:ale_completion_info.column,
+ \ b:ale_completion_info.column + 1,
\ ]),
\ ale#completion#GetTriggerCharacter(&filetype, b:ale_completion_info.prefix),
\)