diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-15 01:42:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-15 01:42:53 +0800 |
commit | fb967d715b21451f0a67401aaf3112202c65c79a (patch) | |
tree | ec057b14835e651bcb41b923e32b43d2d7d7a62b /script/parser | |
parent | 738f3410ed8dd2b6c5203fd984d5966d510a1d79 (diff) | |
download | lua-language-server-fb967d715b21451f0a67401aaf3112202c65c79a.zip |
add `error` and `type` into special
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/newparser.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index 630c12c2..fa728c8b 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -118,6 +118,8 @@ local Specials = { ['pairs'] = true, ['ipairs'] = true, ['assert'] = true, + ['error'] = true, + ['type'] = true, } local UnarySymbol = { |