From: Yegappan Lakshmanan Date: Tue, 26 Jan 2021 16:24:31 +0000 (-0800) Subject: Fix off-by-one error X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=465c0acc21c225d4f1e989218836fb0ce1bce996;p=vim-lsp.git Fix off-by-one error --- diff --git a/autoload/handlers.vim b/autoload/handlers.vim index d7c0165..ea760da 100644 --- a/autoload/handlers.vim +++ b/autoload/handlers.vim @@ -205,7 +205,7 @@ def s:processCompletionReply(lspserver: dict, req: dict, reply: dict 0 && line[start - 1] =~ '\k' start -= 1 endwhile - start_col = start + start_col = start + 1 endif complete(start_col, completeItems)