1
0
Fork 0
mirror of synced 2024-11-18 14:55:34 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/phoenix.snippets

17 lines
294 B
Text
Raw Normal View History

2019-03-11 16:39:30 -04:00
snippet cont
defmodule ${1:AppName}Web.${2:ControllerName}Controller do
use $1Web, :controller
${3}
end
snippet view
defmodule ${1:AppName}Web.${2:ViewName}View do
use $1Web, :view
end
snippet chan
defmodule ${1:AppName}Web.${2:ChannelName}Channel do
use $1Web, :channel
end