summaryrefslogtreecommitdiff
path: root/doc/pt-br/config.md
diff options
context:
space:
mode:
authorNicholas Dunn <nexela@gmail.com>2022-07-23 02:45:09 -0400
committerNicholas Dunn <nexela@gmail.com>2022-07-23 02:45:09 -0400
commitce3b062dd0c6ca5dde0e464ff0d0ac142ba197bf (patch)
treebb7b5894f1eb9ac06762c3c122fb48e62c043a3f /doc/pt-br/config.md
parent05a098f7ed731b2a3a6d068d5e9d7dfeacc67be0 (diff)
downloadlua-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/pt-br/config.md')
-rw-r--r--doc/pt-br/config.md22
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md
index 60e04f72..57b6ccc1 100644
--- a/doc/pt-br/config.md
+++ b/doc/pt-br/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",
@@ -789,7 +789,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",
@@ -1411,6 +1411,22 @@ string
""
```
+# runtime.pluginArgs
+
+Arguments to pass to to the runtime plug.
+
+## type
+
+```ts
+array<string>
+```
+
+ ## default
+
+```json
+[]
+```
+
# runtime.special
The custom global variables are regarded as some special built-in variables, and the language server will provide special support
@@ -1823,4 +1839,4 @@ Array<string>
```jsonc
[]
-``` \ No newline at end of file
+```