mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	Problem:    When 'verbosefile' is set ftplugof.vim can give an error.
Solution:   Only remove filetypeplugin autocommands when they exist. (Yasuhiro
            Matsumoto)
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			337 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			337 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
| " 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
 |