summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-04 16:52:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-04 16:52:20 +0800
commit51ed32e52a197ad8b063fd25ad37874274b06e6c (patch)
tree570f21266d91c13922c44fb166b23f8e51a958b4
parent304006115543ff5fe5a6d4e777e20013b0e20c91 (diff)
downloadlua-language-server-51ed32e52a197ad8b063fd25ad37874274b06e6c.zip
fix #341
-rw-r--r--script/core/completion.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index ba848272..d9642f30 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -1633,7 +1633,6 @@ end
local function tryComment(ast, text, offset, results)
local word = findWord(text, offset)
local doc = getLuaDoc(ast, offset)
- local line = text:sub(doc.start, offset)
if not word then
return
end