Skip to content

Commit a1d6237

Browse files
committed
update config
1 parent d53d05d commit a1d6237

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

package/configuration.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,12 @@ local config = {
325325
default = '.',
326326
markdownDescription = "%config.completion.requireSeparator%"
327327
},
328+
['Lua.completion.postfix'] = {
329+
scope = 'window',
330+
type = "string",
331+
default = '@',
332+
markdownDescription = "%config.completion.postfix%"
333+
},
328334
["Lua.color.mode"] = {
329335
scope = 'window',
330336
type = "string",

package/nls-zh-cn.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ return {
6868
['config.completion.showWord.Fallback'] = "无法根据语义提供建议时才显示上下文单词。",
6969
['config.completion.showWord.Disable'] = "不显示上下文单词。",
7070
['config.completion.autoRequire'] = "输入内容看起来是个文件名时,自动 `require` 此文件。",
71-
['config.completion.showParams'] = "在自动完成列表中显示函数的参数信息,函数拥有多个定义时会分开显示。",
71+
['config.completion.showParams'] = "在建议列表中显示函数的参数信息,函数拥有多个定义时会分开显示。",
7272
['config.completion.requireSeparator'] = "`require` 时使用的分隔符。",
73+
['config.completion.postfix'] = "用于触发后缀建议的符号。",
7374
['config.color.mode'] = "着色模式。",
7475
['config.color.mode.Semantic'] = "语义着色。你可能需要同时将 `editor.semanticHighlighting.enabled` 设置为 `true` 才能生效。",
7576
['config.color.mode.SemanticEnhanced'] = "增强的语义颜色。 类似于`Semantic`,但会进行额外的分析(也会带来额外的开销)。",

package/nls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Automatic detection and adaptation of third-party libraries, currently supported
7070
['config.completion.autoRequire'] = "When the input looks like a file name, automatically `require` this file.",
7171
['config.completion.showParams'] = "Display parameters in completion list. When the function has multiple definitions, they will be displayed separately.",
7272
['config.completion.requireSeparator'] = "The separator used when `require`.",
73+
['config.completion.postfix'] = "The symbol used to trigger the postfix suggestion.",
7374
['config.color.mode'] = "Color mode.",
7475
['config.color.mode.Semantic'] = "Semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect.",
7576
['config.color.mode.SemanticEnhanced'] = "Enhanced semantic color. Like `Semantic`, but with additional analysis which might be more computationally expensive.",

0 commit comments

Comments
 (0)