fix(runtime)!: move "tohtml" to pack/dist/opt/ #34557

Problem:
The "tohtml" plugin is loaded by default.

Solution:
- Move it to `pack/dist/opt/nvim.tohtml/`, it is an "opt-in" plugin now.
- Document guidelines.
- Also revert the `plugin/` locations of `spellfile.lua` and `net.lua`.
  That idea was not worth the trouble, it will be too much re-education
  for too little gain.
This commit is contained in:
Justin M. Keyes
2026-03-23 06:41:00 -04:00
committed by GitHub
parent 0a60f32af3
commit 59eadebe33
11 changed files with 64 additions and 33 deletions

View File

@@ -186,6 +186,7 @@ describe(':TOhtml', function()
local screen
before_each(function()
clear({ args = { '--clean' } })
n.command('packadd nvim.tohtml')
screen = Screen.new(80, 80, { term_name = 'xterm' })
exec('colorscheme default')
end)