Request LSP completion for the next col after the cursor

This commit is contained in:
Andrey Popp 2019-01-21 23:19:47 +03:00
parent e960e54eca
commit bcf63eea96
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ function! s:OnReady(linter, lsp_details, ...) abort
\ b:ale_completion_info.line, \ b:ale_completion_info.line,
\ min([ \ min([
\ b:ale_completion_info.line_length, \ 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), \ ale#completion#GetTriggerCharacter(&filetype, b:ale_completion_info.prefix),
\) \)