aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/html.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-29 23:26:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-29 23:26:52 +1300
commitdc59d7e74635f9a56fef9049e34411d6ef535650 (patch)
tree41063a96c38500ede7ba3f5dd31b83e9000d46ea /vim/after/ftplugin/html.vim
parentSimplify after/ftplugin for C (diff)
downloaddotfiles-dc59d7e74635f9a56fef9049e34411d6ef535650.tar.gz
dotfiles-dc59d7e74635f9a56fef9049e34411d6ef535650.zip
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.
Diffstat (limited to 'vim/after/ftplugin/html.vim')
-rw-r--r--vim/after/ftplugin/html.vim4
1 files changed, 2 insertions, 2 deletions
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