Skip to content

Commit

Permalink
Merge pull request #18 from venables/jasmine-syntax-to-fix
Browse files Browse the repository at this point in the history
Don't highlight `.to` unless it is after a period.
  • Loading branch information
claco committed Dec 10, 2013
2 parents a6dcf93 + b2bf033 commit 50cae13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/jasmine.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ syn keyword specFunctions afterEach beforeEach describe it expect addMatchers sp
syn keyword specDisabled xit xdescribe
syn keyword specSpys andCallThrough andReturn andThrow andCallFake callCount argsForCall mostRecentCall
syn keyword specAsync runs waits waitsFor
syn match specMatcher "to[A-Za-z0-9_]*"
syn match specMatcher "\.to[A-Za-z0-9_]*"
syn keyword specjQuery loadFixtures readFixtures setFixtures sandbox clearCache cleanUp

hi def link specFunctions Special
Expand Down

0 comments on commit 50cae13

Please sign in to comment.