mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 02:51:48 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user