Open AsaAyers opened 12 years ago
I don't use files that end in spec.js, instead I have a folder named 'spec'.
I tried modifying the autcmd lines, but it doesn't seem like it reads the full file path. If it did, this would be my suggestion:
autocmd BufNewFile,BufRead,BufWritePost *[Ss]pec*js,*SpecHelper*js set filetype=jasmine.javascript syntax=jasmine.javascript autocmd BufNewFile,BufRead,BufWritePost *[Ss]pec*coffee,*SpecHelper*coffee set filetype=jasmine.coffee syntax=jasmine.coffee
I don't use files that end in spec.js, instead I have a folder named 'spec'.
I tried modifying the autcmd lines, but it doesn't seem like it reads the full file path. If it did, this would be my suggestion: