diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:12:18 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:12:18 +0200 |
commit | daa6fc695890085c23851ddb07f313adcd47a50a (patch) | |
tree | 75b7212be3a9c09fd7c5bf7c3b0296ad6d82f5e6 /ftdetect | |
parent | 610f4c570123510f2d6f4c5799d880d8581126cf (diff) | |
download | vim-polyglot-daa6fc695890085c23851ddb07f313adcd47a50a.tar.gz vim-polyglot-daa6fc695890085c23851ddb07f313adcd47a50a.zip |
Add jasmine support
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 6fd81d68..b385d1d8 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -48,6 +48,7 @@ autocmd BufNewFile,BufRead *.haml,*.hamlbars,*.hamlc setf haml autocmd BufNewFile,BufRead *.sass setf sass autocmd BufNewFile,BufRead *.scss setf scss autocmd BufNewFile,BufReadPost *.jade set filetype=jade +autocmd BufNewFile,BufRead *Spec.js,*_spec.js set filetype=jasmine.javascript syntax=jasmine au BufNewFile,BufRead *.js setf javascript au BufNewFile,BufRead *.jsm setf javascript au BufNewFile,BufRead Jakefile setf javascript |