Add completion to :Mkdir
This commit is contained in:
parent
253f6f306d
commit
f254665710
@ -110,7 +110,11 @@ vim.api.nvim_create_user_command('Mkdir', function(opts)
|
|||||||
flags = 'p'
|
flags = 'p'
|
||||||
end
|
end
|
||||||
vim.fn.mkdir(opts.args, flags)
|
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
|
-- :Rg grep for the given string and fuzzy find the results, bang to enable
|
||||||
-- regex in given string
|
-- regex in given string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user