Skip to content

Commit

Permalink
Fix for broken ftplugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Mar 1, 2024
1 parent f9a4e63 commit 1f8e3ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/dpp/source.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 1f8e3ac

Please sign in to comment.