diff --git a/.vscode/launch.json b/.vscode/launch.json index 3ba84cd21..c23af9d7f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -30,7 +30,7 @@ "type": "lua", "request": "attach", "stopOnEntry": true, - "address": "127.0.0.1:11413", + "address": "127.0.0.1:11427", "outputCapture": [ ], "sourceMaps": [ diff --git a/changelog.md b/changelog.md index 7b74d910a..2847f76d2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,7 @@ # changelog ## 2.0.4 +* `FIX` [#539](https://github.com/sumneko/lua-language-server/issues/539) * `FIX` [#550](https://github.com/sumneko/lua-language-server/issues/550) ## 2.0.3 diff --git a/script/core/completion.lua b/script/core/completion.lua index 2975634c9..97984299b 100644 --- a/script/core/completion.lua +++ b/script/core/completion.lua @@ -1172,7 +1172,7 @@ local function tryWord(ast, text, offset, triggerCharacter, results) if not word then if triggerCharacter == nil then word = '' - start = offset + start = offset + 1 else return nil end