From a17954841f787c79069f72f69a66c93fe876d75d Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 7 Mar 2024 19:06:12 +0900 Subject: [PATCH] Fix for broken ftplugins --- autoload/dpp/source.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/dpp/source.vim b/autoload/dpp/source.vim index c9c4097..8f458f2 100644 --- a/autoload/dpp/source.vim +++ b/autoload/dpp/source.vim @@ -107,7 +107,8 @@ function dpp#source#_source(plugins, function_prefix) abort if (is_reset || filetype_before !=# filetype_after) && &l:filetype !=# '' " Recall FileType autocmd - let &l:filetype = &l:filetype + " NOTE: ftplugins may be broken. + silent! let &l:filetype = &l:filetype endif if !has('vim_starting')