specky/syntax/rspec.vim
branchvim-stuff
changeset 17 54598f9f279c
parent 12 a9f1ce3766d1
child 19 763cef799c74
--- a/specky/syntax/rspec.vim	Wed Jul 07 16:53:39 2010 -0700
+++ b/specky/syntax/rspec.vim	Wed Sep 29 09:11:49 2010 -0700
@@ -6,13 +6,13 @@
 runtime! syntax/ruby.vim
 unlet b:current_syntax
 
-syntax keyword rspecGroupMethods describe it
+syntax keyword rspecGroupMethods describe it its let it_should_behave_like pending
 highlight link rspecGroupMethods Type
 
 syntax keyword rspecBeforeAndAfter after after_suite_parts append_after append_before before before_suite_parts prepend_after prepend_before
 highlight link rspecBeforeAndAfter Statement
 
-syntax keyword rspecMocks mock stub
+syntax keyword rspecMocks mock stub double
 highlight link rspecMocks Constant
 
 syntax keyword rspecMockMethods and_raise and_return and_throw and_yield build_child called_max_times expected_args invoke matches
@@ -28,3 +28,4 @@
 highlight link rspecMessageExpectation Function
 
 let b:current_syntax = "rspec"
+