Added 'filetype plugin indent on'. Should have learned about this earlier.