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,6 +2,6 @@
|
||||
# key: mcol
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Remove / Add Column
|
||||
## condition: "meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table"
|
||||
# condition: (yas/rails-intelligent-migration-snippet-condition-p)
|
||||
# --
|
||||
remove_column :${1:table}, :${2:column}${3: [press tab twice to generate add_column]}
|
||||
(yas/rails-intelligent-migration-snippet :remove_add_column)
|
||||
|
||||
Reference in New Issue
Block a user