man.vim: Avoid error in legacy vimrcs.

The old man.vim ftplugin advises users to add this to vimrc:

    runtime ftplugin/man.vim

Make this a no-op to avoid sending users on a debugging quest.
This commit is contained in:
Justin M. Keyes
2016-08-19 22:57:24 -04:00
parent 12b5c846ba
commit 1b825a9ada

View File

@@ -1,7 +1,7 @@
" Maintainer: Anmol Sethi <anmol@aubble.com>
" Previous Maintainer: SungHyun Nam <goweol@gmail.com>
if exists('b:did_ftplugin')
if exists('b:did_ftplugin') || &filetype !=# 'man'
finish
endif
let b:did_ftplugin = 1