Skip to content

Commit b5d8d50

Browse files
bucketheadvtpope
authored andcommitted
Add some commit callbacks (tpope#465)
1 parent 21e455f commit b5d8d50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/rails.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3757,8 +3757,8 @@ function! rails#buffer_syntax()
37573757
if buffer.type_name() ==# 'model' || buffer.type_name('model-record')
37583758
syn keyword rubyRailsARMethod default_scope enum named_scope scope serialize store
37593759
syn keyword rubyRailsARAssociationMethod belongs_to has_one has_many has_and_belongs_to_many composed_of accepts_nested_attributes_for
3760-
syn keyword rubyRailsARCallbackMethod before_create before_destroy before_save before_update before_validation before_validation_on_create before_validation_on_update
3761-
syn keyword rubyRailsARCallbackMethod after_create after_destroy after_save after_update after_validation after_validation_on_create after_validation_on_update
3760+
syn keyword rubyRailsARCallbackMethod before_create before_destroy before_save before_update before_validation before_validation_on_create before_validation_on_update before_commit
3761+
syn keyword rubyRailsARCallbackMethod after_create after_destroy after_save after_update after_validation after_validation_on_create after_validation_on_update after_create_commit after_update_commit after_destroy_commit
37623762
syn keyword rubyRailsARCallbackMethod around_create around_destroy around_save around_update
37633763
syn keyword rubyRailsARCallbackMethod after_commit after_find after_initialize after_rollback after_touch
37643764
syn keyword rubyRailsARClassMethod attr_accessible attr_protected attr_readonly has_secure_password has_secure_token store_accessor

0 commit comments

Comments
 (0)