Skip to content

Commit 272243e

Browse files
committed
small fix
1 parent 028a533 commit 272243e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

script/filewatch.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function m.update()
6969
if not ev then
7070
break
7171
end
72+
log.debug('filewatch:', ev, path)
7273
if not collect then
7374
collect = {}
7475
end

script/provider/formatting.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function m.updateConfig(uri)
5757
local currentPath = furi.decode(currentUri)
5858
local editorConfigFSPath = fs.path(currentPath) / '.editorconfig'
5959
if fs.exists(editorConfigFSPath) then
60-
loadedUris[uri] = editorConfigFSPath
60+
loadedUris[currentUri] = editorConfigFSPath
6161
local status, err = codeFormat.update_config(updateType.Created, currentUri, editorConfigFSPath:string())
6262
if not status and err then
6363
log.error(err)

0 commit comments

Comments
 (0)