Skip to content

Commit ba707ae

Browse files
committed
update description of Lua.workspace.ignoreDir
1 parent cf9f50a commit ba707ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package/nls-zh-cn.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ return {
1818
["config.diagnostics.neededFileStatus"] = "如果你只想诊断打开的文件,选Opened;否则,选Any。\n",-- .. example.neededFileStatus,
1919
["config.diagnostics.workspaceDelay"] = "进行工作区诊断的延迟(毫秒)。当你启动工作区,或编辑了任意文件后,将会在后台对整个工作区进行重新诊断。设置为负数可以禁用工作区诊断。",
2020
["config.diagnostics.workspaceRate"] = "工作区诊断的运行速率(百分比)。降低该值会减少CPU占用,但是也会降低工作区诊断的速度。你当前正在编辑的文件的诊断总是全速完成,不受该选项影响。",
21-
["config.workspace.ignoreDir"] = "忽略的目录(使用 `.gitignore` 语法)。\n",-- .. example.ignoreDir,
21+
["config.workspace.ignoreDir"] = "忽略的文件与目录(使用 `.gitignore` 语法)。\n",-- .. example.ignoreDir,
2222
["config.workspace.ignoreSubmodules"] = "忽略子模块。",
2323
["config.workspace.useGitIgnore"] = "忽略 `.gitignore` 中列举的文件。",
2424
["config.workspace.maxPreload"] = "最大预加载文件数。",

package/nls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following example shows that 'include' is treated as' require '.
1818
["config.diagnostics.neededFileStatus"] = "If you want to check only opened files, choice Opened; else choice Any.\n",-- .. example.neededFileStatus,
1919
["config.diagnostics.workspaceDelay"] = "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.",
2020
["config.diagnostics.workspaceRate"] = "Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.",
21-
["config.workspace.ignoreDir"] = "Ignored directories (Use `.gitignore` grammar).\n",-- .. example.ignoreDir,
21+
["config.workspace.ignoreDir"] = "Ignored files and directories (Use `.gitignore` grammar).\n",-- .. example.ignoreDir,
2222
["config.workspace.ignoreSubmodules"] = "Ignore submodules.",
2323
["config.workspace.useGitIgnore"] = "Ignore files list in `.gitignore` .",
2424
["config.workspace.maxPreload"] = "Max preloaded files.",

0 commit comments

Comments
 (0)