Skip to content

Commit

Permalink
Add haskell gitignore template
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorag committed May 30, 2021
1 parent a3df5bf commit b20736c
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions modules/editor/file-templates/templates/gitignore-mode/__
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand All @@ -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"))`

0 comments on commit b20736c

Please sign in to comment.