From 1f8e3ac33f63e9f49a24cdd4cf576115985c3f88 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Fri, 1 Mar 2024 11:45:34 +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 0c9068f..8546d09 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: Use silent! because ftplugins may be broken. + silent! let &l:filetype = &l:filetype endif if !has('vim_starting')