From dc59d7e74635f9a56fef9049e34411d6ef535650 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 23:26:52 +1300 Subject: Remove boilerplate after/ftplugin load guards I'm likely going to move away from Vim 6.0 support, at least for all of this filetype stuff. We will keep the one filetype load guard we actually need, which is the HTML one, to stop plugins like markdown.vim from loading it. --- vim/after/ftplugin/html.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim/after/ftplugin/html.vim') diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim index 29128c03..b5c387fb 100644 --- a/vim/after/ftplugin/html.vim +++ b/vim/after/ftplugin/html.vim @@ -1,5 +1,5 @@ -" Extra configuration for HTML files -if &filetype !=# 'html' || v:version < 700 || &compatible +" Don't load if the buffer is not actually HTML (e.g. Markdown) +if &filetype !=# 'html' finish endif -- cgit v1.2.3