Skip to content

Commit ba02896

Browse files
committed
fix #539
1 parent 3f300fc commit ba02896

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"type": "lua",
3131
"request": "attach",
3232
"stopOnEntry": true,
33-
"address": "127.0.0.1:11413",
33+
"address": "127.0.0.1:11427",
3434
"outputCapture": [
3535
],
3636
"sourceMaps": [

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# changelog
22

33
## 2.0.4
4+
* `FIX` [#539](https://github.com./sumneko/lua-language-server/issues/539)
45
* `FIX` [#550](https://github.com./sumneko/lua-language-server/issues/550)
56

67
## 2.0.3

script/core/completion.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ local function tryWord(ast, text, offset, triggerCharacter, results)
11721172
if not word then
11731173
if triggerCharacter == nil then
11741174
word = ''
1175-
start = offset
1175+
start = offset + 1
11761176
else
11771177
return nil
11781178
end

0 commit comments

Comments
 (0)