summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-22 17:24:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-22 17:24:44 +0800
commit32aa2dac835a0c74b82b19d83d9fd06be7a947ce (patch)
treed3e162b147ebc030de703439a7dcf94bce013fe9 /script/parser/guide.lua
parenta45e980f0d51c47229d18d0f859e718d203b472f (diff)
downloadlua-language-server-32aa2dac835a0c74b82b19d83d9fd06be7a947ce.zip
cleanup
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index fb5f3db4..cea56be8 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -805,18 +805,6 @@ function m.lineContent(lines, text, row, ignoreNL)
end
end
-function m.lineRange(lines, row, ignoreNL)
- local line = lines[row]
- if not line then
- return 0, 0
- end
- if ignoreNL then
- return line.start, line.range
- else
- return line.start, line.finish
- end
-end
-
local isSetMap = {
['setglobal'] = true,
['local'] = true,