feat(cmdline): completion for :TOhtml #37045

This commit is contained in:
Eric Wong
2025-12-21 08:17:38 +08:00
committed by GitHub
parent 245a4696a2
commit 6228acb74f

View File

@@ -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' })