summaryrefslogtreecommitdiff
path: root/script/vm/runner.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-18 16:15:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-18 16:15:26 +0800
commit7b3bdcfb3f62695bb8ad237046285634a701a697 (patch)
tree0efe10bc304612b6280cb7b36b3950e1d3318187 /script/vm/runner.lua
parentf99a3cd8dea446852d8282319d620704eb0e6094 (diff)
downloadlua-language-server-7b3bdcfb3f62695bb8ad237046285634a701a697.zip
update
Diffstat (limited to 'script/vm/runner.lua')
-rw-r--r--script/vm/runner.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua
index 2de06aaa..3ee718b3 100644
--- a/script/vm/runner.lua
+++ b/script/vm/runner.lua
@@ -57,7 +57,7 @@ function mt:_collect()
end
table.sort(self._objs, function (a, b)
- return (a.range or a.finish) < (b.range or b.start)
+ return (a.range or a.start) < (b.range or b.start)
end)
end