diff options
author | Nicholas Dunn <nexela@gmail.com> | 2022-07-23 02:45:09 -0400 |
---|---|---|
committer | Nicholas Dunn <nexela@gmail.com> | 2022-07-23 02:45:09 -0400 |
commit | ce3b062dd0c6ca5dde0e464ff0d0ac142ba197bf (patch) | |
tree | bb7b5894f1eb9ac06762c3c122fb48e62c043a3f /doc/zh-cn | |
parent | 05a098f7ed731b2a3a6d068d5e9d7dfeacc67be0 (diff) | |
download | lua-language-server-ce3b062dd0c6ca5dde0e464ff0d0ac142ba197bf.zip |
Plugin enchancements
Adds config.runtime.plugingArgs
Adds pluginPath to package.path. Closes #1297
Adds log.warn() when specified plugin can't be found
Possible Changelog entry:
```txt
* `NEW` `Lua.runtime.pluginArgs`
* `CHG` add plugin path in package.path
```
Diffstat (limited to 'doc/zh-cn')
-rw-r--r-- | doc/zh-cn/config.md | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index 177096e5..5c2edf82 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -653,7 +653,7 @@ object<string, string> ```jsonc { /* - 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1` + 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1` */ "ambiguity-1": "Any", "assign-type-mismatch": "Opened", @@ -788,7 +788,7 @@ object<string, string> ```jsonc { /* - 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1` + 优先级歧义,如:`num or 0 + 1`,推测用户的实际期望为 `(num or 0) + 1` */ "ambiguity-1": "Warning", "assign-type-mismatch": "Warning", @@ -1410,6 +1410,22 @@ string "" ``` +# runtime.pluginArgs + +Arguments to pass to to the runtime plug. + +## type + +```ts +array<string> +``` + + ## default + +```json +[] +``` + # runtime.special 将自定义全局变量视为一些特殊的内置变量,语言服务将提供特殊的支持。 @@ -1822,4 +1838,4 @@ Array<string> ```jsonc [] -```
\ No newline at end of file +``` |