aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorColin Caine <colin.caine@manchester.ac.uk>2016-10-20 07:35:48 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-10-20 08:35:48 +0200
commite19234f391f7dc9259dbd1115a70868e3b54577d (patch)
treed10f1c6b281e6b80ecfba341c5fd0bd75444c150 /test/functional/api/vim_spec.lua
parent13262aef7a82d679f16e4160409caf82ba9e7a0e (diff)
downloadrneovim-e19234f391f7dc9259dbd1115a70868e3b54577d.tar.gz
rneovim-e19234f391f7dc9259dbd1115a70868e3b54577d.tar.bz2
rneovim-e19234f391f7dc9259dbd1115a70868e3b54577d.zip
man.vim: silence `file` call (#5509)
When a file is opened by nvim with ft=man already set, and "has('vim_starting')", ftplugin/man.vim calls 'execute 'file man://'.ref', this causes nvim to display something like this: ```` "<name of original file>" 977, 41017C "man://foo(1)" [Not edited] 977 lines --0%-- Press ENTER or type command to continue ```` This is annoying, because nothing of note has actually happened. Use cases why you might want to read a man page from a file: `MANPAGER='bash -c "nvim -c \"set ft=man\" </dev/tty <(col -bx)"' man git` `nvim -c 'set ft=man' <(man -P cat git)`
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions