From 0ae22219224227d756b956b9988b55e9ec66fed6 Mon Sep 17 00:00:00 2001 From: Nathan Craddock Date: Thu, 19 Aug 2021 09:02:47 -0600 Subject: Change completion.word to completion.showWord Updates the config option from a boolean to a string that has three supported values: * Disable: Never show text completions * Enable: Always show text completions * Fallback: Only show text completions as a fallback when there are no semantic completions found. --- script/config/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/config/config.lua') diff --git a/script/config/config.lua b/script/config/config.lua index bfcfa572..91f0a00b 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -181,7 +181,7 @@ local Template = { ['Lua.completion.keywordSnippet'] = Type.String >> 'Replace', ['Lua.completion.displayContext'] = Type.Integer >> 6, ['Lua.completion.workspaceWord'] = Type.Boolean >> true, - ['Lua.completion.word'] = Type.Boolean >> true, + ['Lua.completion.showWord'] = Type.String >> 'Enable', ['Lua.completion.autoRequire'] = Type.Boolean >> true, ['Lua.completion.showParams'] = Type.Boolean >> true, ['Lua.signatureHelp.enable'] = Type.Boolean >> true, -- cgit v1.2.3