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 /script/config/template.lua | |
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 'script/config/template.lua')
-rw-r--r-- | script/config/template.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/config/template.lua b/script/config/template.lua index 6a009a66..60f3dbca 100644 --- a/script/config/template.lua +++ b/script/config/template.lua @@ -222,6 +222,7 @@ local template = { 'continue', }), ['Lua.runtime.plugin'] = Type.String, + ['Lua.runtime.pluginArgs'] = Type.Array(Type.String), ['Lua.runtime.fileEncoding'] = Type.String >> 'utf8' << { 'utf8', 'ansi', |