Update .vimrc

Changed to detect filetype and set the respective indents.