diff options
-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) |