irongit

added the icon back

huncholanehuncholaneauthored
parent 555accbcommit 13883d5f75fe21f891eee308587a663890c8aba7Browse files

1 file changed, +1 -1

+1-1lua/scratch/scratch.lua
@@ -41,7 +41,7 @@ function M.scratch(ext)
4141 col = col,
4242 style = "minimal",
4343 border = "rounded",
44- title = " " .. ext .. " Scratchpad: " .. filename .. " ",
44+ title = " " .. require("mini.icons").get("filetype", ext) .. " Scratchpad: " .. filename .. " ",
4545 })
4646 vim.cmd("edit " .. filename)
4747