diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-20 16:03:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-20 16:03:45 +0800 |
commit | 12ca56af1b403b1473472d547c377493780e7844 (patch) | |
tree | 83aa9130bed21be26fd6c2098c3c3865f1175459 /script/config/config.lua | |
parent | 6897e265fef6b0a43f5f2a6355fd0ef300b72692 (diff) | |
download | lua-language-server-12ca56af1b403b1473472d547c377493780e7844.zip |
fix quickfix
don't set into override scope
Diffstat (limited to 'script/config/config.lua')
-rw-r--r-- | script/config/config.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/config/config.lua b/script/config/config.lua index 70e83fc8..b10b0a6d 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -76,7 +76,7 @@ end function m.set(uri, key, value) local unit = template[key] assert(unit, 'unknown key: ' .. key) - local scp = getScope(uri) + local scp = getScope(uri, key) local oldValue = m.get(uri, key) m.setByScope(scp, key, value) local newValue = m.get(uri, key) |