aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen_basic_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-25 03:20:55 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-10-25 04:09:53 +0200
commitc03a0f5fc82d91cc29e81d02e4440eb8fd9cad12 (patch)
tree67fd2ac945fa0b85c280534c1b31d4e5de6847e0 /test/functional/ui/screen_basic_spec.lua
parent5fbc2eeac596041569d3c50ec3d8dec2b23870ba (diff)
downloadrneovim-c03a0f5fc82d91cc29e81d02e4440eb8fd9cad12.tar.gz
rneovim-c03a0f5fc82d91cc29e81d02e4440eb8fd9cad12.tar.bz2
rneovim-c03a0f5fc82d91cc29e81d02e4440eb8fd9cad12.zip
man.vim: avoid duplicate buffers, E95
Before this commit, man#init_pager() always tries to scrape the manpage name and set the buffer name. That's much less important than avoiding duplicate buffers and E95. And it doesn't seem to be necessary, usually. Steps to reproduce: $ export MANPAGER="nvim -c 'set ft=man' -" $ man sleep :Man sleep Error detected while processing function man#init_pager: line 15: E95: Buffer with this name already exists :ls! 1 h- "man://SLEEP(1)" line 4 2 %a- "man://sleep(1)" line 1
Diffstat (limited to 'test/functional/ui/screen_basic_spec.lua')
0 files changed, 0 insertions, 0 deletions