mirror of
https://github.com/amix/vimrc
synced 2024-12-23 18:33:08 +00:00
9 lines
272 B
Text
9 lines
272 B
Text
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
|