Included Option pragma

- included OPTION_GHC pragma
- and removed unnecessary tab in module where clause
This commit is contained in:
Martin Heuschober 2015-11-06 13:44:07 +01:00
parent 8cb1d88e47
commit 5b1a9d4f60

View File

@ -2,6 +2,8 @@ snippet lang
{-# LANGUAGE ${0:OverloadedStrings} #-} {-# LANGUAGE ${0:OverloadedStrings} #-}
snippet haddock snippet haddock
{-# OPTIONS_HADDOCK ${0:hide} #-} {-# OPTIONS_HADDOCK ${0:hide} #-}
snippet ghc
{-# OPTIONS_GHC ${0:-fno-warn-unused-imports} #-}
snippet inline snippet inline
{-# INLINE ${0:name} #-} {-# INLINE ${0:name} #-}
snippet info snippet info
@ -40,7 +42,7 @@ snippet class
${0} ${0}
snippet module snippet module
module `substitute(substitute(expand('%:r'), '[/\\]','.','g'),'^\%(\l*\.\)\?','','')` ( module `substitute(substitute(expand('%:r'), '[/\\]','.','g'),'^\%(\l*\.\)\?','','')` (
) where ) where
`expand('%') =~ 'Main' ? "\n\nmain = do\n print \"hello world\"" : ""` `expand('%') =~ 'Main' ? "\n\nmain = do\n print \"hello world\"" : ""`
snippet const snippet const