diff --git a/lua/commands.lua b/lua/commands.lua index 086c8e9..e0d7e7d 100644 --- a/lua/commands.lua +++ b/lua/commands.lua @@ -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