mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-16 02:51:30 +08:00
Fix #2544 - Completion positions are off by one
This commit is contained in:
2 files changed
+3
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user