diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 19:58:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:19:27 +1300 |
commit | c921c0d016c9d52c74083baecde1e0fe0e2e61eb (patch) | |
tree | 405f53db7fe23eb78d3c9e0d9f92007626535df7 /vim/after/ftplugin | |
parent | Add timestamp augroup clearing to Vim ft=html (diff) | |
download | dotfiles-c921c0d016c9d52c74083baecde1e0fe0e2e61eb.tar.gz dotfiles-c921c0d016c9d52c74083baecde1e0fe0e2e61eb.zip |
Wrap autocmd! clear for ft=mail in :execute
See commit 0748687.
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r-- | vim/after/ftplugin/html.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim index 46282f7f..29128c03 100644 --- a/vim/after/ftplugin/html.vim +++ b/vim/after/ftplugin/html.vim @@ -16,8 +16,8 @@ augroup html_timestamp \| call html#TimestampUpdate() \|endif augroup END -let b:undo_ftplugin .= '|autocmd! html_timestamp' - \ . '|augroup! htmltimestamp' +let b:undo_ftplugin .= '|execute ''autocmd! html_timestamp''' + \ . '|augroup! html_timestamp' " Stop here if the user doesn't want ftplugin mappings if exists('g:no_plugin_maps') || exists('g:no_html_maps') |