1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00
ultimate-vim/sources_non_forked/vim-snippets/UltiSnips/haskell.snippets
2020-12-04 22:15:32 +01:00

13 lines
303 B
Text

priority -50
snippet imp "Simple import"
import ${1:${2:Data}.${0:Text}}
endsnippet
snippet imp2 "Selective import" b
import ${1:${2:Data}.${3:Text}} (${4})${0}
endsnippet
snippet impq "Qualified import"
import qualified ${1:${2:Data}.${3:Text}} as ${0:`!p snip.rv = t[1].split(".")[-1]`}
endsnippet