Skip to content

Commit 854cfbd

Browse files
committed
Fix name-style provider not using URI when loading config
1 parent b5e57c3 commit 854cfbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/provider/name-style.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ m.loaded = false
1111

1212
function m.nameStyleCheck(uri, text)
1313
if not m.loaded then
14-
local value = config.get(nil, "Lua.nameStyle.config")
14+
local value = config.get(uri, "Lua.nameStyle.config")
1515
codeFormat.update_name_style_config(value)
1616
m.loaded = true
1717
end

0 commit comments

Comments
 (0)