aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:20:35 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:20:35 +1200
commitcedcc07facc8d1bf95751135b869bb491e1899c8 (patch)
tree247ad5bab8e108d9c8eb39d9454e7f2422264484 /vim/after/ftplugin
parentMove my after ftplugin for Markdown into main (diff)
downloaddotfiles-cedcc07facc8d1bf95751135b869bb491e1899c8.tar.gz
dotfiles-cedcc07facc8d1bf95751135b869bb491e1899c8.zip
Remove HTML ftplugin import from Markdown ftplugin
I never liked this much. Removing it from my own copy of the ftplugin allows me to remove my working around it in the after script.
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/html.vim5
1 files changed, 0 insertions, 5 deletions
diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim
index 8b390528..93845a80 100644
--- a/vim/after/ftplugin/html.vim
+++ b/vim/after/ftplugin/html.vim
@@ -1,8 +1,3 @@
-" Don't load if the buffer is not actually HTML (e.g. Markdown)
-if &filetype !=# 'html'
- finish
-endif
-
" Spellcheck documents we're actually editing (not just viewing)
if &modifiable && !&readonly
setlocal spell