mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-18 14:29:50 +08:00
Fix #2257 - Fix an off by 1 which broke completion for some servers
This commit is contained in:
@@ -480,8 +480,8 @@ function! s:OnReady(linter, lsp_details, ...) abort
|
||||
\ b:ale_completion_info.line,
|
||||
\ min([
|
||||
\ b:ale_completion_info.line_length,
|
||||
\ b:ale_completion_info.column + 1,
|
||||
\ ]),
|
||||
\ b:ale_completion_info.column,
|
||||
\ ]) + 1,
|
||||
\ ale#completion#GetTriggerCharacter(&filetype, b:ale_completion_info.prefix),
|
||||
\)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user