Add completion to :Mkdir

This commit is contained in:
Kenneth Benzie 2024-04-11 21:56:37 +01:00
parent 253f6f306d
commit f254665710

View File

@ -110,7 +110,11 @@ vim.api.nvim_create_user_command('Mkdir', function(opts)
flags = 'p'
end
vim.fn.mkdir(opts.args, flags)
end, { bang = true, nargs = 1 })
end, {
bang = true,
nargs = 1,
complete = 'file',
})
-- :Rg grep for the given string and fuzzy find the results, bang to enable
-- regex in given string