Permalink
Browse files

Merge pull request #18 from venables/jasmine-syntax-to-fix

Don't highlight `.to` unless it is after a period.
  • Loading branch information...
2 parents a6dcf93 + b2bf033 commit 50cae137f8308cdfdf70010232a852a364549411 @claco committed Dec 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/jasmine.vim
View
2 syntax/jasmine.vim
@@ -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

0 comments on commit 50cae13

Please sign in to comment.