From c921c0d016c9d52c74083baecde1e0fe0e2e61eb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 19:58:32 +1300 Subject: Wrap autocmd! clear for ft=mail in :execute See commit 0748687. --- vim/after/ftplugin/html.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim/after') 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') -- cgit v1.2.3