blob: 0ff7f335784933b5aba3d3b27f258f41055b542b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{
"config.diagnostics.disable": "Disabled diagnostic (Use code in hover brackets).",
"config.diagnostics.globals": "Defined global variables.",
"config.diagnostics.severity": "Modified diagnostic severity.",
"config.runtime.path": "`package.path`",
"config.runtime.version": "Lua runtime version.",
"config.workspace.ignoreDir": "Ignored directories (Use `.gitignore` grammar).",
"config.workspace.ignoreSubmodules": "Ignore submodules.",
"config.workspace.library": "加载的外部函数库。\n下面这个例子表示加载`C:/lua`中的所有文件,以及加载`../lib`中的`.txt`与`.lua`文件,但不加载`../lib/temp`中的`.txt`文件。加载的文件最终会受文件关联的影响,因此需要设置`.txt`文件关联`lua`后`*.txt`才有意义。\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"*.txt\",\n \"*.lua\",\n \"!/temp/**/*.txt\"\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` ."
}
|