summaryrefslogtreecommitdiff
path: root/script/config
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-15 01:42:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-15 01:42:53 +0800
commitfb967d715b21451f0a67401aaf3112202c65c79a (patch)
treeec057b14835e651bcb41b923e32b43d2d7d7a62b /script/config
parent738f3410ed8dd2b6c5203fd984d5966d510a1d79 (diff)
downloadlua-language-server-fb967d715b21451f0a67401aaf3112202c65c79a.zip
add `error` and `type` into special
Diffstat (limited to 'script/config')
-rw-r--r--script/config/template.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/config/template.lua b/script/config/template.lua
index 3e5b11a6..41913991 100644
--- a/script/config/template.lua
+++ b/script/config/template.lua
@@ -192,6 +192,8 @@ local template = {
'pcall',
'xpcall',
'assert',
+ 'error',
+ 'type',
}
),
['Lua.runtime.meta'] = Type.String >> '${version} ${language} ${encoding}',