mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(scratch): set filetype correctly. Closes #2510
Some checks failed
CI / ci (push) Has been cancelled
Some checks failed
CI / ci (push) Has been cancelled
This commit is contained in:
parent
d902c0a415
commit
3c5c23ba91
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue