Updated plugins and added vim-markdown
This commit is contained in:
1 parent
2514de5b22
commit
8eeefe86c2
111 files changed
+6623
-923
No files matched your search
@@ -608,6 +608,12 @@ returning ${1:variable} do${2/(^(?<var>\s*[a-z_][a-zA-Z0-9_]*\s*)(,\g<var>)*,?\s
|
||||
end
|
||||
endsnippet
|
||||
|
||||
snippet cmm "Create Migration Model Class"
|
||||
class Migration${1/(?:^|_)(\w)/\u$1/g} < ApplicationRecord
|
||||
self.table_name = :${1:model_name}s
|
||||
end
|
||||
endsnippet
|
||||
|
||||
snippet t. "t.binary (tcbi)"
|
||||
t.binary :${1:title}${2:, :limit => ${3:2}.megabytes}
|
||||
t.$0
|
||||
|
||||
Reference in new issue
Block a user