au BufRead,BufNewFile *.scala set filetype=scala

au BufRead,BufNewFile *.scala set filetype=scala
au BufNewFile,BufRead *.sbt set filetype=scala

" Use haml syntax for scaml
au BufRead,BufNewFile *.scaml set filetype=haml

Add filetype detection for sbt and template files
Add filetype detection for sbt and template files

ornicar/vim-scala