summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-11 11:16:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-11 11:16:27 +0800
commit8cdff13ef2cd6d5529821134997c517c3494a568 (patch)
treeaa567d128856c4ea616197b2b1a7420967336837 /script/parser
parent8f24287d7f1190a5fff5f85de3f403d84bebf79c (diff)
downloadlua-language-server-8cdff13ef2cd6d5529821134997c517c3494a568.zip
fix #713 `runtime.special` broken
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/newparser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 001650fd..c49d2291 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -1956,7 +1956,7 @@ local function resolveName(node)
else
local ospeicals = State.options.special
if ospeicals and ospeicals[name] then
- addSpecial(name, node)
+ addSpecial(ospeicals[name], node)
end
end
return node