summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-21 13:55:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-21 13:55:13 +0800
commite50a8947ab1c6016e3763e76e0c3bedfa1b9c002 (patch)
treece7c6b45bec0118ff9b5ea918d8995695d8868bc /server/libs
parentdba3476884f6ff53e0b0843fb77b42e5205161e1 (diff)
downloadlua-language-server-e50a8947ab1c6016e3763e76e0c3bedfa1b9c002.zip
支持dofile和loadfile
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/lua53/basic.lni2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/libs/lua53/basic.lni b/server/libs/lua53/basic.lni
index 92303c4a..7c18cb6f 100644
--- a/server/libs/lua53/basic.lni
+++ b/server/libs/lua53/basic.lni
@@ -45,6 +45,7 @@ name = 'opt'
enum = 'isrunning'
[dofile]
+special = 'dofile'
[[.args]]
name = 'filename'
type = 'string'
@@ -126,6 +127,7 @@ enum = 'bt'
default = true
[loadfile]
+special = 'loadfile'
[[.args]]
name = 'filename'
type = 'string'