I have the following setting in my vimrc
autocmd FileType * setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab
This is just so that every file I open looks consistent.
I also have another setting in after\ftplugin\make.vim
setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
It looks like when I open makefile settings in make.vim are triggered first and that settings in vimrc are triggered last. Is there a way to make make.vim settings to be triggered last?
Any help is appreciated.
set tabstop=2 softtabstop=2 shiftwidth=2? That will apply for all filetypes when put in your vimrc, unless an ftplugin overrides it. – EvergreenTree Jul 17 '15 at 16:01set expandtabin your vimrc and do not putsetlocal expandtabin your FileType autocommand. – garyjohn Jul 17 '15 at 16:36