diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-12-30 17:51:22 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-12-30 17:51:22 +0800 |
commit | b1c20a1f24cc7e17d446b2ac4e4118c36173dc20 (patch) | |
tree | a55942645f0cbc5db38aad471ac92e2d5b4c7c8c /script/provider/completion.lua | |
parent | a555b92349e2ab07b9111a296618a69caa068032 (diff) | |
download | lua-language-server-b1c20a1f24cc7e17d446b2ac4e4118c36173dc20.zip |
update
Diffstat (limited to 'script/provider/completion.lua')
-rw-r--r-- | script/provider/completion.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/completion.lua b/script/provider/completion.lua index 8e529e95..6c215f15 100644 --- a/script/provider/completion.lua +++ b/script/provider/completion.lua @@ -13,7 +13,7 @@ local function allWords() list[#list+1] = c mark[c] = true end - local postfix = config.get(nil, 'Lua.completion.postfix') + local postfix = config.get(uri, 'Lua.completion.postfix') if postfix ~= '' and not mark[postfix] then list[#list+1] = postfix mark[postfix] = true @@ -76,7 +76,7 @@ config.watch(function (key, value) end end if key == 'Lua.completion.postfix' then - if config.get(nil, 'Lua.completion.enable') then + if config.get(uri, 'Lua.completion.enable') then disable() enable() end |