Closed PauloPhagula closed 4 years ago
It'd be nice if highlights were added for embeds_one, embeds_many and embedded_in used in Mongoid, in the same way there are highlights for has_one and has_many
embeds_one, embeds_many
embedded_in
has_one
has_many
just define syntax highlight by yourself
let g:rails_projections = { \ "app/models/*.rb": { \ "rubyMacro": ["embeds_one", "embeds_many", "embedded_in"], \ } \ }
It'd be nice if highlights were added for
embeds_one, embeds_many
andembedded_in
used in Mongoid, in the same way there are highlights forhas_one
andhas_many