summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-21 16:30:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-21 16:30:06 +0800
commit272243e1219e35cce1d75de8f02f1a1641e971d7 (patch)
tree6c79e829bfb9693f72ecaabd7a30e263790e1900 /script/provider
parent028a53341827dff350fe3a626404c607f4f67c8e (diff)
downloadlua-language-server-272243e1219e35cce1d75de8f02f1a1641e971d7.zip
small fix
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/formatting.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/formatting.lua b/script/provider/formatting.lua
index 7bb802e1..4ec5545a 100644
--- a/script/provider/formatting.lua
+++ b/script/provider/formatting.lua
@@ -57,7 +57,7 @@ function m.updateConfig(uri)
local currentPath = furi.decode(currentUri)
local editorConfigFSPath = fs.path(currentPath) / '.editorconfig'
if fs.exists(editorConfigFSPath) then
- loadedUris[uri] = editorConfigFSPath
+ loadedUris[currentUri] = editorConfigFSPath
local status, err = codeFormat.update_config(updateType.Created, currentUri, editorConfigFSPath:string())
if not status and err then
log.error(err)