aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-08-26 02:50:30 -0700
committerGitHub <noreply@github.com>2021-08-26 02:50:30 -0700
commitb6b12ea7c3f2a5ac18d92efc5e4ef814971dfdef (patch)
treef401bafad2d00913685666c762fcbc1cf2849679 /test/functional/api/vim_spec.lua
parent502a56867d4accf63c50363f40e333c36088233f (diff)
downloadrneovim-b6b12ea7c3f2a5ac18d92efc5e4ef814971dfdef.tar.gz
rneovim-b6b12ea7c3f2a5ac18d92efc5e4ef814971dfdef.tar.bz2
rneovim-b6b12ea7c3f2a5ac18d92efc5e4ef814971dfdef.zip
fix(man.vim): filetype=man is too eager #15489
Problem: "set filetype=man" assumes the user wants :Man features, this does extra stuff like renaming the buffer as "man://". Solution: - old entrypoint was ":set filetype=man", but this is too presumptuous #15487 - make the entrypoints more explicit: 1. when the ":Man" command is run 2. when a "man://" buffer is opened - remove the tricky b:man_sect checks in ftplugin/man.vim and syntax/man.vim - MANPAGER is supported via ":Man!", as documented. fixes #15487
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions