coffeescript-support/ftdetect/jasmine.vim

3 lines
226 B
VimL

autocmd BufNewFile,BufRead,BufWritePost *Spec.js,*SpecHelper.js set filetype=jasmine.javascript syntax=jasmine
autocmd BufNewFile,BufRead,BufWritePost *Spec.coffee,*SpecHelper.coffee set filetype=jasmine.coffee syntax=jasmine