From 6228acb74f94ead074627c152faeed1b17f4e7d9 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 21 Dec 2025 08:17:38 +0800 Subject: [PATCH] feat(cmdline): completion for :TOhtml #37045 --- runtime/plugin/tohtml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/plugin/tohtml.lua b/runtime/plugin/tohtml.lua index 0cb4562938..9a4f257f7e 100644 --- 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' })