mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 09:54:17 +00:00
Working on the rails snippets and conditions
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# key: t.
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: t.rename (tre)
|
||||
## condition: "meta.rails.migration.create_table, meta.rails.migration.change_table"
|
||||
# condition: (and (yas/rails-migration-p) (yas/rails-in-create-table))
|
||||
# --
|
||||
t.rename(:${1:old_column_name}, :${2:new_column_name})
|
||||
t.$0
|
||||
Reference in New Issue
Block a user