Skip to content

Commit 8daf8cb

Browse files
committed
disable runtime.plugin by default
1 parent 010c6a9 commit 8daf8cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package/configuration.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ local config = {
7575
["Lua.runtime.plugin"] = {
7676
scope = "resource",
7777
type = "string",
78-
default = ".vscode/lua/plugin.lua",
78+
default = "",
7979
markdownDescription = "%config.runtime.plugin%"
8080
},
8181
["Lua.runtime.fileEncoding"] = {

package/nls-zh-cn.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ return {
99
]] .. example.special,
1010
["config.runtime.unicodeName"] = "允许在名字中使用 Unicode 字符。",
1111
["config.runtime.nonstandardSymbol"] = "支持非标准的符号。请务必确认你的运行环境支持这些符号。",
12-
["config.runtime.plugin"] = "(实验)插件路径。",
12+
["config.runtime.plugin"] = "插件路径,请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/Plugin)了解用法",
1313
["config.runtime.fileEncoding"] = "文件编码,`ansi` 选项只在 `Windows` 平台下有效。",
1414
['config.runtime.builtin'] = [[
1515
调整内置库的启用状态,你可以根据实际运行环境禁用掉不存在的库(或重新定义)。

package/nls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The following example shows that 'include' is treated as' require '.
99
]] .. example.special,
1010
["config.runtime.unicodeName"] = "Allows Unicode characters in name.",
1111
["config.runtime.nonstandardSymbol"] = "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.",
12-
["config.runtime.plugin"] = "(Proposed) Plugin path.",
12+
["config.runtime.plugin"] = "Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugin) to learn more.",
1313
["config.runtime.fileEncoding"] = "File encoding. The `ansi` option is only available under the `Windows` platform.",
1414
['config.runtime.builtin'] = [[
1515
Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.

0 commit comments

Comments
 (0)