Add haskell gitignore template

This commit is contained in:
Joseph Morag 2021-05-30 11:07:29 -04:00
parent a3df5bfa3e
commit b20736c9b7

View file

@ -3,7 +3,7 @@
*.log
tmp/
`(let ((type-ignore (yas-choose-value '("(none)" "python" "ruby" "java" "js"))))
`(let ((type-ignore (yas-choose-value '("(none)" "python" "ruby" "java" "js" "haskell"))))
(string-join
(cond ((string= type-ignore "python")
'("*.py[cod]"
@ -27,5 +27,29 @@ tmp/
"yarn-error.log*"
"*.tsbuildinfo"
".npm"
".eslintcache")))
".eslintcache"))
((string= type-ignore "haskell")
'("dist"
"dist-*"
"cabal-dev"
"*.o"
"*.hi"
"*.hie"
"*.chi"
"*.chs.h"
"*.dyn_o"
"*.dyn_hi"
".hpc"
".hsenv"
".cabal-sandbox/"
"cabal.sandbox.config"
"*.prof"
"*.aux"
"*.hp"
"*.eventlog"
".stack-work/"
"cabal.project.local"
"cabal.project.local~"
".HTF/"
".ghc.environment.*")))
"\n"))`