ci: format

This commit is contained in:
Barrett Ruth 2026-03-04 15:48:13 -05:00
parent 96df25b7be
commit e03f51ca04
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -208,7 +208,10 @@ function M.compile(bufnr, name, provider, ctx, opts)
local watcher = vim.uv.new_fs_event()
if watcher then
open_watchers[bufnr] = watcher
watcher:start(out_dir, {}, vim.schedule_wrap(function(err, filename, _events)
watcher:start(
out_dir,
{},
vim.schedule_wrap(function(err, filename, _events)
if err or vim.fn.fnamemodify(filename or '', ':t') ~= out_name then
return
end
@ -227,7 +230,8 @@ function M.compile(bufnr, name, provider, ctx, opts)
stop_open_watcher(bufnr)
do_open(bufnr, output_file, provider.open)
opened[bufnr] = true
end))
end)
)
end
end