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