aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorJoshua Rubin <joshuarubin@users.noreply.github.com>2019-10-25 10:41:22 -0600
committerJustin M. Keyes <justinkz@gmail.com>2019-10-25 09:41:22 -0700
commit99aa166cb105cb33df7bb153e93f15b509fcbc8c (patch)
tree0a1844941b95b8e1a39b2b18c47bbe92914c8345 /runtime/lua
parent4f4f5ef4fd2f54db5d527768b4b1a94f737b3834 (diff)
downloadrneovim-99aa166cb105cb33df7bb153e93f15b509fcbc8c.tar.gz
rneovim-99aa166cb105cb33df7bb153e93f15b509fcbc8c.tar.bz2
rneovim-99aa166cb105cb33df7bb153e93f15b509fcbc8c.zip
man.vim: never switch to non-man window #11286
In order to find if there was already an open man page, the :Man command would cycle through each window to see if &ft=='man'. This triggers autocmds, e.g. BufEnter, unnecessarily and can have unexpected side-effects. Change the logic to check each window's ft without switching to it unless it is actually a man window. Signed-off-by: Joshua Rubin <me@jawa.dev>
Diffstat (limited to 'runtime/lua')
0 files changed, 0 insertions, 0 deletions