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

14 lines
303 B
Text
Raw Normal View History

2022-11-21 10:06:50 -05:00
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