Skip to content

Commit 12ca56a

Browse files
committed
fix quickfix
don't set into override scope
1 parent 6897e26 commit 12ca56a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.vscode/launch.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
]
3737
],
3838
"windows": {
39+
"name": "🍄attach",
40+
"type": "lua",
41+
"request": "attach",
3942
"sourceMaps": [
4043
[
4144
"script\\*",

script/config/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ end
7676
function m.set(uri, key, value)
7777
local unit = template[key]
7878
assert(unit, 'unknown key: ' .. key)
79-
local scp = getScope(uri)
79+
local scp = getScope(uri, key)
8080
local oldValue = m.get(uri, key)
8181
m.setByScope(scp, key, value)
8282
local newValue = m.get(uri, key)

0 commit comments

Comments
 (0)