view runtime/ftplugof.vim @ 9117:0cc48b3cd884 v7.4.1842

commit https://github.com/vim/vim/commit/03e19a04ac2ca55643663b97b6ab94043233dcbd Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 24 22:29:49 2016 +0200 patch 7.4.1842 Problem: get() works for Partial but not for Funcref. Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov)
author Christian Brabandt <cb@256bit.org>
date Tue, 24 May 2016 22:30:07 +0200
parents 49b08c9b9f5b
children 179c118424a6
line wrap: on
line source

" Vim support file to switch off loading plugins for file types
"
" Maintainer:	Bram Moolenaar <Bram@vim.org>
" Last Change:	2011 Oct 20

if exists("did_load_ftplugin")
  unlet did_load_ftplugin
endif

" Remove all autocommands in the filetypeplugin group, if any exist.
if exists("#filetypeplugin")
  silent! au! filetypeplugin *
endif