diff options
-rw-r--r-- | script/parser/luadoc.lua | 2 | ||||
-rw-r--r-- | test/completion/common.lua | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index b646d1a9..4b2376a3 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1194,7 +1194,7 @@ local docSwitch = util.switch() if not result.name then pushWarning { type = 'LUADOC_MISS_SEE_NAME', - start = getStart(), + start = getFinish(), finish = getFinish(), } return nil diff --git a/test/completion/common.lua b/test/completion/common.lua index 7266de16..2438618e 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -3973,5 +3973,10 @@ TEST [[ { label = 'ABCD', kind = define.CompletionItemKind.Class, + textEdit = { + newText = 'ABCD', + start = 20008, + finish = 20012, + } }, } |