specky/syntax/rspec.vim
branchvim-stuff
changeset 17 54598f9f279c
parent 12 a9f1ce3766d1
child 19 763cef799c74
equal deleted inserted replaced
16:88c3c5bc695a 17:54598f9f279c
     4 "
     4 "
     5 
     5 
     6 runtime! syntax/ruby.vim
     6 runtime! syntax/ruby.vim
     7 unlet b:current_syntax
     7 unlet b:current_syntax
     8 
     8 
     9 syntax keyword rspecGroupMethods describe it
     9 syntax keyword rspecGroupMethods describe it its let it_should_behave_like pending
    10 highlight link rspecGroupMethods Type
    10 highlight link rspecGroupMethods Type
    11 
    11 
    12 syntax keyword rspecBeforeAndAfter after after_suite_parts append_after append_before before before_suite_parts prepend_after prepend_before
    12 syntax keyword rspecBeforeAndAfter after after_suite_parts append_after append_before before before_suite_parts prepend_after prepend_before
    13 highlight link rspecBeforeAndAfter Statement
    13 highlight link rspecBeforeAndAfter Statement
    14 
    14 
    15 syntax keyword rspecMocks mock stub
    15 syntax keyword rspecMocks mock stub double
    16 highlight link rspecMocks Constant
    16 highlight link rspecMocks Constant
    17 
    17 
    18 syntax keyword rspecMockMethods and_raise and_return and_throw and_yield build_child called_max_times expected_args invoke matches
    18 syntax keyword rspecMockMethods and_raise and_return and_throw and_yield build_child called_max_times expected_args invoke matches
    19 highlight link rspecMockMethods Function
    19 highlight link rspecMockMethods Function
    20 
    20 
    26 
    26 
    27 syntax keyword rspecMessageExpectation advise any_number_of_times at_least at_most exactly expected_messages_received generate_error ignoring_args matches_at_least_count matches_at_most_count matches_exact_count matches_name_but_not_args negative_expectation_for never once ordered similar_messages times twice verify_messages_received with
    27 syntax keyword rspecMessageExpectation advise any_number_of_times at_least at_most exactly expected_messages_received generate_error ignoring_args matches_at_least_count matches_at_most_count matches_exact_count matches_name_but_not_args negative_expectation_for never once ordered similar_messages times twice verify_messages_received with
    28 highlight link rspecMessageExpectation Function
    28 highlight link rspecMessageExpectation Function
    29 
    29 
    30 let b:current_syntax = "rspec"
    30 let b:current_syntax = "rspec"
       
    31