vimrc/sources_non_forked/vim-snippets/UltiSnips/elm.snippets

10 lines
272 B
Text
Raw Normal View History

2017-09-02 10:43:18 +00:00
priority -50
snippet impa "Qualified import"
import ${1:Json.Encode} as ${0:`!p snip.rv = t[1].split(".")[-1]`}
endsnippet
snippet impae "Qualified import with exposing"
import ${1:Json.Encode} as ${2:`!p snip.rv = t[1].split(".")[-1]`} exposing (${0:Value})
endsnippet