Skip to content

Commit 169a121

Browse files
committed
不能信任执行路径
1 parent 9756bdc commit 169a121

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

package/package.lua

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,18 @@ return {
4646
command = "lua.exportDocument",
4747
title = "%command.exportDocument%",
4848
},
49-
{
50-
command = "lua.reloadFFIMeta",
51-
title = "%command.reloadFFIMeta%",
52-
},
49+
{
50+
command = "lua.reloadFFIMeta",
51+
title = "%command.reloadFFIMeta%",
52+
},
53+
{
54+
command = "lua.startServer",
55+
title = "重启服务器",
56+
},
57+
{
58+
command = "lua.stopServer",
59+
title = "停止服务器",
60+
}
5361
},
5462
menus = {
5563
["editor/context"] = {
@@ -116,6 +124,7 @@ return {
116124
description = "",
117125
restrictedConfigurations = {
118126
"Lua.runtime.plugin",
127+
"Lua.misc.executablePath",
119128
"Lua.misc.parameters",
120129
},
121130
},

0 commit comments

Comments
 (0)