# HG changeset patch # User Mahlon E. Smith # Date 1285776709 25200 # Node ID 54598f9f279c3471f052c16a6723555b686c4a57 # Parent 88c3c5bc695a8302612158fddc009d9ab1db286c Add some syntax keywords for rspec 1.3.0. diff -r 88c3c5bc695a -r 54598f9f279c glimpse/build.vim --- a/glimpse/build.vim Wed Jul 07 16:53:39 2010 -0700 +++ b/glimpse/build.vim Wed Sep 29 09:11:49 2010 -0700 @@ -1,5 +1,5 @@ let g:vimball_home="." e Makefile -%!grep ^SOURCE +v/^SOURCE/d %s/^SOURCE\s\++\?=\s\+// execute '%MkVimball!' . g:plugin_name diff -r 88c3c5bc695a -r 54598f9f279c specky/build.vim --- a/specky/build.vim Wed Jul 07 16:53:39 2010 -0700 +++ b/specky/build.vim Wed Sep 29 09:11:49 2010 -0700 @@ -1,5 +1,5 @@ let g:vimball_home="." e Makefile -%!grep ^SOURCE +v/^SOURCE/d %s/^SOURCE\s\++\?=\s\+// execute '%MkVimball!' . g:plugin_name diff -r 88c3c5bc695a -r 54598f9f279c specky/syntax/rspec.vim --- 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" +