Haskell: Correct module Main expansion
This commit is contained in:
parent
4491460074
commit
fa69fcdc0b
@ -43,7 +43,7 @@ snippet class
|
||||
snippet module
|
||||
module `substitute(substitute(expand('%:r'), '[/\\]','.','g'),'^\%(\l*\.\)\?','','')` (
|
||||
) where
|
||||
`expand('%') =~ 'a' ? "\nmain :: IO ()\nmain = undefined" : ""`
|
||||
`expand('%') =~ 'Main' ? "\nmain :: IO ()\nmain = undefined" : ""`
|
||||
|
||||
snippet main
|
||||
main :: IO ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user