1
0
Fork 0
mirror of synced 2024-11-05 08:58:59 -05:00
ultimate-vim/sources_non_forked/vim-snippets/UltiSnips/haskell.snippets

14 lines
303 B
Text
Raw Normal View History

2017-11-24 08:59:41 -05:00
priority -50
2020-12-04 16:15:32 -05:00
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
2017-11-24 08:59:41 -05:00
snippet impq "Qualified import"
2020-12-04 16:15:32 -05:00
import qualified ${1:${2:Data}.${3:Text}} as ${0:`!p snip.rv = t[1].split(".")[-1]`}
2017-11-24 08:59:41 -05:00
endsnippet