all repos

init.lua @ 599728a86c1e000dc6c853bf21eb62c2d2d05fb2

my nvim config

init.lua/lua/globals.lua(view raw)

1
2
3
4
5
6
7
-- 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