From ce3b062dd0c6ca5dde0e464ff0d0ac142ba197bf Mon Sep 17 00:00:00 2001 From: Nicholas Dunn Date: Sat, 23 Jul 2022 02:45:09 -0400 Subject: 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 ``` --- doc/pt-br/config.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'doc/pt-br/config.md') 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 ```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 ```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 +``` + + ## 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 ```jsonc [] -``` \ No newline at end of file +``` -- cgit v1.2.3