diff options
-rw-r--r-- | package.nls.json | 2 | ||||
-rw-r--r-- | server/test/build_package.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package.nls.json b/package.nls.json index d3cc2102..9362a31a 100644 --- a/package.nls.json +++ b/package.nls.json @@ -6,7 +6,7 @@ "config.runtime.version": "Lua runtime version.", "config.workspace.ignoreDir": "Ignored directories (Use `.gitignore` grammar).\n```json\n\"Lua.workspace.ignoreDir\" : [\n \"temp/*.*\",\n \"!temp/*.lua\"\n]\n```\n", "config.workspace.ignoreSubmodules": "Ignore submodules.", - "config.workspace.library": "(Plz help me to translate these into nice English!)\nLoad external library.\nThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\nThe following example shows loaded files in `C:/lua` without `../lib/temp`.\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n", + "config.workspace.library": "(Plz help me to translate these into nice English!)\nLoad external library.\nThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\nThe following example shows loaded files in `C:/lua` and `../lib` ,exclude `../lib/temp`.\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n", "config.workspace.maxPreload": "Max preloaded files.", "config.workspace.preloadFileSize": "Skip files larger than this value (KB) when preloading.", "config.workspace.useGitIgnore": "Ignore files list in `.gitignore` ." diff --git a/server/test/build_package.lua b/server/test/build_package.lua index 381df7dc..a0ce2396 100644 --- a/server/test/build_package.lua +++ b/server/test/build_package.lua @@ -215,7 +215,7 @@ io.save(ROOT:parent_path() / 'package.nls.json', json.encode { (Plz help me to translate these into nice English!) Load external library. This feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified. -The following example shows loaded files in `C:/lua` without `../lib/temp`. +The following example shows loaded files in `C:/lua` and `../lib` ,exclude `../lib/temp`. ]] .. example.library, }) |