vim-plug icon indicating copy to clipboard operation
vim-plug copied to clipboard

Do not trigger filetypeindent/filetypeplugin autocmds by default

Open blueyed opened this issue 6 years ago • 2 comments

This is not necessary if filetype plugin indent on was not used before plug#end(), since then the FileType autocmds from there will come after vim-plug's.

This will issue a warning, and makes handling of this conditional.

This could use filetype plugin/indent off to work around this (similar to the filetype off being used), but runtime/indoff.vim and runtime/ftplugof.vim will only empty the augroups, and not remove them.

Fixing the user's config is the best solution anyway, so I think a warning is good.

Might help with https://github.com/junegunn/vim-plug/issues/581, too.

blueyed avatar Oct 11 '17 20:10 blueyed

Rebased and added queuing of autocommands before VimEnter in general (https://github.com/blueyed/vim-plug/commit/00d3f0ada65c0ce84263f9beb5d8daae3989aa7d, https://github.com/vim/vim/issues/2810).

blueyed avatar Apr 17 '18 08:04 blueyed

@blueyed Can you rebase again if it's useful to have?

janlazo avatar Dec 16 '19 03:12 janlazo