1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00
SpaceVim/bundle/vim-snippets/snippets/phoenix.snippets
2020-06-13 14:06:35 +08:00

17 lines
294 B
Plaintext

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