diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-21 16:30:06 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-21 16:30:06 +0800 |
commit | 272243e1219e35cce1d75de8f02f1a1641e971d7 (patch) | |
tree | 6c79e829bfb9693f72ecaabd7a30e263790e1900 | |
parent | 028a53341827dff350fe3a626404c607f4f67c8e (diff) | |
download | lua-language-server-272243e1219e35cce1d75de8f02f1a1641e971d7.zip |
small fix
-rw-r--r-- | script/filewatch.lua | 1 | ||||
-rw-r--r-- | script/provider/formatting.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/script/filewatch.lua b/script/filewatch.lua index 81e0dab9..ecc72255 100644 --- a/script/filewatch.lua +++ b/script/filewatch.lua @@ -69,6 +69,7 @@ function m.update() if not ev then break end + log.debug('filewatch:', ev, path) if not collect then collect = {} end 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) |