summaryrefslogtreecommitdiff
path: root/script/vm/getDocs.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-14 20:43:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-14 20:43:33 +0800
commit5a072004414ff1f8de416c62a4067774f72e7097 (patch)
tree098b490fadec58205a1c8f944ec590c957e86a1c /script/vm/getDocs.lua
parent4d1b606cc875803cc07031c63cde351300ea664a (diff)
downloadlua-language-server-5a072004414ff1f8de416c62a4067774f72e7097.zip
cleanup
Diffstat (limited to 'script/vm/getDocs.lua')
-rw-r--r--script/vm/getDocs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua
index c0205654..5fcf9478 100644
--- a/script/vm/getDocs.lua
+++ b/script/vm/getDocs.lua
@@ -186,7 +186,7 @@ local function makeDiagRange(uri, doc, results)
names[name] = true
end
end
- local row = guide.positionOf(lines, doc.start)
+ local row = guide.positionOf(doc.start)
if doc.mode == 'disable-next-line' then
if lines[row+1] then
results[#results+1] = {