mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
feat(cmdline): completion for :TOhtml #37045
This commit is contained in:
@@ -9,4 +9,4 @@ vim.api.nvim_create_user_command('TOhtml', function(args)
|
||||
vim.fn.writefile(html, outfile)
|
||||
vim.cmd.split(outfile)
|
||||
vim.bo.filetype = 'html'
|
||||
end, { bar = true, nargs = '?', range = '%' })
|
||||
end, { bar = true, nargs = '?', range = '%', complete = 'file' })
|
||||
|
||||
Reference in New Issue
Block a user