commit 6228acb74f94ead074627c152faeed1b17f4e7d9
parent 245a4696a250afe9858b50d880ce5ba10fa795bc
Author: Eric Wong <wsdjeg@outlook.com>
Date: Sun, 21 Dec 2025 08:17:38 +0800
feat(cmdline): completion for :TOhtml #37045
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/plugin/tohtml.lua b/runtime/plugin/tohtml.lua
@@ -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' })