aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-04 19:12:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-04 19:13:25 +1200
commitccad9e90002edc9ddfbc761b7130cbe265568fb8 (patch)
treed34815c3b764f02a4c11ae6364d2f574a3800e93
parent3c7a5d27d22461144547fee3fb0d5ae02af5e8e9 (diff)
downloaddotfiles-ccad9e90002edc9ddfbc761b7130cbe265568fb8.tar.gz
Clear markdown_autoformat.vim autocmds correctly
-rw-r--r--vim/after/ftplugin/markdown/autoformat.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/markdown/autoformat.vim b/vim/after/ftplugin/markdown/autoformat.vim
index 7edcfbf6..b2152336 100644
--- a/vim/after/ftplugin/markdown/autoformat.vim
+++ b/vim/after/ftplugin/markdown/autoformat.vim
@@ -101,6 +101,6 @@ if exists('b:undo_ftplugin')
let b:undo_ftplugin = b:undo_ftplugin
\ . '|setlocal formatoptions<'
\ . '|augroup ftplugin_markdown_autoformat'
- \ . '|autocmd!'
+ \ . '|autocmd! * <buffer>'
\ . '|augroup END'
endif