Added haskelll snip.
This commit is contained in:
parent
76e8612410
commit
5919706b02
22
autoload/neosnippet/snippets/haskell.snip
Normal file
22
autoload/neosnippet/snippets/haskell.snip
Normal file
@ -0,0 +1,22 @@
|
||||
snippet import
|
||||
abbr import qualified ... as ...
|
||||
import qualified ${1} as ${2}
|
||||
|
||||
snippet importOnly
|
||||
abbr import ... (...)
|
||||
import ${1} (${2})
|
||||
|
||||
snippet language
|
||||
abbr {-# LANGUAGE ... #-}
|
||||
{-# LANGUAGE ${1} #-}
|
||||
|
||||
# hard-tab is necessary
|
||||
snippet case
|
||||
abbr case ... of
|
||||
case ${1} of
|
||||
${2} -> ${0}
|
||||
|
||||
snippet main
|
||||
abbr main = do
|
||||
main = do
|
||||
${0}
|
@ -445,6 +445,7 @@ CHANGELOG *neosnippet-changelog*
|
||||
|
||||
2012-10-20
|
||||
- Improved scala snip.
|
||||
- Added haskell snip.
|
||||
|
||||
2012-10-19
|
||||
- Fixed syntax highlight.
|
||||
|
Loading…
Reference in New Issue
Block a user