mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-11 12:33:47 -05:00
Never run "filetype plugin indent on" a second time
Resolves: https://github.com/tpope/vim-sensible/issues/126
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user