vim_dotfiles icon indicating copy to clipboard operation
vim_dotfiles copied to clipboard

Move all filetype specific includes to ftplugin

Open ClashTheBunny opened this issue 4 years ago • 1 comments

What

Move all filetype specific includes to ftplugin

Why

  • possibly more performant per https://stackoverflow.com/questions/7863804/autocmd-filetype-vs-ftplugin

  • cleaner - cluttering the root directory with files is adds to cognitive load.

Impact

None to the best of my knowledge.

ClashTheBunny avatar Dec 23 '21 02:12 ClashTheBunny

looks good, the only downside I have experienced is that it is more difficult to override settings with ~/.vimrc_local, when you use ftplugins, I think last time I needed to do that I used ~/.vim/after/ftplugin/<filetype>.vim

lollipopman avatar Dec 23 '21 16:12 lollipopman