fix(scratch): set filetype correctly. Closes #2510
Some checks failed
CI / ci (push) Has been cancelled

This commit is contained in:
Folke Lemaitre 2025-11-14 15:07:03 +01:00
parent d902c0a415
commit 3c5c23ba91
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -170,7 +170,7 @@ function M.open(opts)
opts.win = Snacks.win.resolve("scratch", opts.win_by_ft[scratch.ft], opts.win, {
show = false,
{ bo = { filetype = scratch.ft } },
bo = { filetype = scratch.ft },
})
opts.win.title = {