-- selene: allow(global_usage) function _G.mkdir() local dir = vim.fn.expand "%:p:h" if vim.fn.isdirectory(dir) == 0 then vim.fn.mkdir(dir, "p") end end