Skip to content

Commit

Permalink
Add scala to the filetype
Browse files Browse the repository at this point in the history
The companion to derekwyatt/vim-scala@e6e1237. This triggers other parts
of vim-scala's ftplugin to load on sbt files that are useful, like
default shiftwidth/softtabstop, etc. It will also mean that the
filetype is set to `sbt.scala` no matter whether vim-sbt or vim-scala
loads first.
  • Loading branch information
ches committed Feb 7, 2015
1 parent 8c6ad85 commit d0a7ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftdetect/sbt.vim
Expand Up @@ -3,4 +3,4 @@
" Maintainer: Derek Wyatt <derek@{myfirstname}{mylastname}.org>
" Last Change: 2012 Jan 19

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

0 comments on commit d0a7ef1

Please sign in to comment.