aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/tohtml.lua
diff options
context:
space:
mode:
authorEric Wong <wsdjeg@outlook.com>2025-12-21 08:17:38 +0800
committerGitHub <noreply@github.com>2025-12-20 19:17:38 -0500
commit6228acb74f94ead074627c152faeed1b17f4e7d9 (patch)
tree9f2e65d485b15edbebd3274188a85a639758ac8c /runtime/plugin/tohtml.lua
parent245a4696a250afe9858b50d880ce5ba10fa795bc (diff)
downloadrneovim-6228acb74f94ead074627c152faeed1b17f4e7d9.tar.gz
rneovim-6228acb74f94ead074627c152faeed1b17f4e7d9.tar.bz2
rneovim-6228acb74f94ead074627c152faeed1b17f4e7d9.zip
feat(cmdline): completion for :TOhtml #37045
Diffstat (limited to 'runtime/plugin/tohtml.lua')
-rw-r--r--runtime/plugin/tohtml.lua2
1 files changed, 1 insertions, 1 deletions
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' })