coffeescript-support/syntax/jasmine.vim

23 lines
716 B
VimL
Raw Normal View History

2011-01-31 03:13:44 +00:00
if exists("b:current_syntax")
finish
endif
runtime! syntax/javascript.vim
syn case match
syn keyword specFunctions afterEach beforeEach describe it expect addMatchers spyOn not
syn keyword specDisabled xit xdescribe
syn keyword specSpys andCallThrough andReturn andThrow andCallFake callCount argsForCall mostRecentCall
syn keyword specAsync runs waits waitsFor
2011-01-31 03:13:44 +00:00
syn match specMatcher "to[A-Za-z0-9_]*"
syn keyword specjQuery loadFixtures readFixtures setFixtures sandbox clearCache cleanUp
2011-01-31 03:13:44 +00:00
hi def link specFunctions Special
hi def link specDisabled Error
2011-01-31 03:13:44 +00:00
hi def link specMatcher Special
hi def link specSpys Special
hi def link specAsync Special
hi def link specjQuery Special
2011-01-31 03:13:44 +00:00
let b:current_syntax = "jasmine"