Never run "filetype plugin indent on" a second time

Resolves: https://github.com/tpope/vim-sensible/issues/126
This commit is contained in:
Tim Pope
2022-12-03 00:26:42 -05:00
parent 8985da7669
commit 1be4e4e540

View File

@@ -8,7 +8,7 @@ else
let g:loaded_sensible = 'yes'
endif
if has('autocmd')
if !(exists('g:did_load_filetypes') && exists('g:did_load_ftplugin') && exists('g:did_indent_on'))
filetype plugin indent on
endif
if has('syntax') && !exists('g:syntax_on')