summaryrefslogtreecommitdiff
path: root/script/vm/getDocs.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-15 16:11:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-15 16:11:30 +0800
commit8880b7d63931469c0b7bfb69004f342236ce2811 (patch)
treeb9577858f20755d593ecf08dad5e2cd5e46559db /script/vm/getDocs.lua
parent6fddbbf0b34729327670ac1687d88b38739e12a9 (diff)
downloadlua-language-server-8880b7d63931469c0b7bfb69004f342236ce2811.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 5fcf9478..218dc048 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(doc.start)
+ local row = guide.rowColOf(doc.start)
if doc.mode == 'disable-next-line' then
if lines[row+1] then
results[#results+1] = {