refactor(commands): remove stop subcommand
Problem: :Preview stop had a subtle distinction from toggle-off (kill
process but keep autocmd) that nobody reaches for deliberately from
the command line.
Solution: remove stop from the command dispatch table. The Lua API
require('preview').stop() remains as a programmatic escape hatch.
This commit is contained in:
parent
46cbf41612
commit
1d0077ab60
2 changed files with 0 additions and 10 deletions
|
|
@ -4,9 +4,6 @@ local handlers = {
|
|||
compile = function()
|
||||
require('preview').compile()
|
||||
end,
|
||||
stop = function()
|
||||
require('preview').stop()
|
||||
end,
|
||||
clean = function()
|
||||
require('preview').clean()
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue