Skip to content

Commit c7ca178

Browse files
committed
Update helpers for Rails 3
This results in a slightly premature drop of syntax highlighting for intrusive JavaScript methods, but these were on their way out anyways.
1 parent d74a364 commit c7ca178

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

autoload/rails.vim

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3433,24 +3433,24 @@ endfunction
34333433
function! s:helpermethods()
34343434
return ""
34353435
\."atom_feed audio_path audio_tag auto_discovery_link_tag auto_link "
3436-
\."benchmark button_to button_to_function button_to_remote "
3436+
\."button_to button_to_function "
34373437
\."cache capture cdata_section check_box check_box_tag collection_select concat content_for content_tag content_tag_for csrf_meta_tag current_cycle cycle "
34383438
\."date_select datetime_select debug distance_of_time_in_words distance_of_time_in_words_to_now div_for dom_class dom_id draggable_element draggable_element_js drop_receiving_element drop_receiving_element_js "
3439-
\."error_message_on error_messages_for escape_javascript escape_once evaluate_remote_response excerpt "
3440-
\."field_set_tag fields_for file_field file_field_tag form form_for form_remote_for form_remote_tag form_tag "
3439+
\."email_field email_field_tag error_message_on error_messages_for escape_javascript escape_once excerpt "
3440+
\."favicon_link_tag field_set_tag fields_for file_field file_field_tag form form_for form_tag "
34413441
\."grouped_collection_select grouped_options_for_select "
34423442
\."hidden_field hidden_field_tag highlight "
34433443
\."image_path image_submit_tag image_tag input "
34443444
\."javascript_cdata_section javascript_include_tag javascript_path javascript_tag "
3445-
\."l label label_tag link_to link_to_function link_to_if link_to_remote link_to_unless link_to_unless_current localize "
3446-
\."mail_to markdown "
3447-
\."number_to_currency number_to_human_size number_to_percentage number_to_phone number_with_delimiter number_with_precision "
3448-
\."observe_field observe_form option_groups_from_collection_for_select options_for_select options_from_collection_for_select "
3449-
\."partial_path password_field password_field_tag path_to_audio path_to_image path_to_javascript path_to_stylesheet path_to_video periodically_call_remote pluralize "
3450-
\."radio_button radio_button_tag raw remote_form_for remote_function reset_cycle "
3451-
\."safe_concat sanitize sanitize_css select select_date select_datetime select_day select_hour select_minute select_month select_second select_tag select_time select_year simple_format sortable_element sortable_element_js strip_links strip_tags stylesheet_link_tag stylesheet_path submit_tag submit_to_remote "
3452-
\."t tag text_area text_area_tag text_field text_field_tag textilize textilize_without_paragraph time_ago_in_words time_select time_zone_options_for_select time_zone_select translate truncate "
3453-
\."update_page update_page_tag url_for "
3445+
\."l label label_tag link_to link_to_function link_to_if link_to_unless link_to_unless_current localize "
3446+
\."mail_to "
3447+
\."number_field number_field_tag number_to_currency number_to_human number_to_human_size number_to_percentage number_to_phone number_with_delimiter number_with_precision "
3448+
\."option_groups_from_collection_for_select options_for_select options_from_collection_for_select "
3449+
\."password_field password_field_tag path_to_audio path_to_image path_to_javascript path_to_stylesheet path_to_video phone_field phone_field_tag pluralize "
3450+
\."radio_button radio_button_tag range_field range_field_tag raw remote_function reset_cycle "
3451+
\."safe_concat sanitize sanitize_css search_field search_field_tag select select_date select_datetime select_day select_hour select_minute select_month select_second select_tag select_time select_year simple_format sortable_element sortable_element_js strip_links strip_tags stylesheet_link_tag stylesheet_path submit_tag "
3452+
\."t tag telephone_field telephone_field_tag text_area text_area_tag text_field text_field_tag time_ago_in_words time_select time_zone_options_for_select time_zone_select translate truncate "
3453+
\."update_page update_page_tag url_field url_field_tag url_for url_options "
34543454
\."video_path video_tag visual_effect "
34553455
\."word_wrap"
34563456
endfunction

0 commit comments

Comments
 (0)