diff --git a/lua/snacks/scratch.lua b/lua/snacks/scratch.lua index 01e5812b..3e4e5946 100644 --- a/lua/snacks/scratch.lua +++ b/lua/snacks/scratch.lua @@ -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 = {