aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/Haskell.json.in
diff options
context:
space:
mode:
authorEike Ziller <git@eikeziller.de>2017-09-25 11:57:51 +0200
committerEike Ziller <git@eikeziller.de>2017-10-01 20:11:08 +0200
commitce0bd485ee6ff54099b564730f82ac7667b0fa08 (patch)
tree22657699d7231cfbe2e3a96c1fc3a5cedcc6b2b4 /plugins/haskell/Haskell.json.in
parent3f1f50c44847a0e76a95507c9566a35dfe809a78 (diff)
Initial Haskell project support
Shows all files from the file system tree around the .cabal file. Provides a simple build configuration with "stack build" step. Provides a simple run configuration with "stack exec" for each "executable" entry.
Diffstat (limited to 'plugins/haskell/Haskell.json.in')
-rw-r--r--plugins/haskell/Haskell.json.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/haskell/Haskell.json.in b/plugins/haskell/Haskell.json.in
index daecf89..fe8767b 100644
--- a/plugins/haskell/Haskell.json.in
+++ b/plugins/haskell/Haskell.json.in
@@ -7,5 +7,16 @@
\"License\" : \"MIT\",
\"Description\" : \"Haskell support\",
\"Url\" : \"https://haskell.org\",
- $$dependencyList
+ $$dependencyList,
+
+ \"Mimetypes\" : [
+ \"<?xml version=\'1.0\'?>\",
+ \"<mime-info xmlns=\'http://www.freedesktop.org/standards/shared-mime-info\'>\",
+ \" <mime-type type=\'text/x-haskell-project\'>\",
+ \" <sub-class-of type=\'text/plain\'/>\",
+ \" <comment>Haskell Cabal project file</comment>\",
+ \" <glob pattern=\'*.cabal\'/>\",
+ \" </mime-type>\",
+ \"</mime-info>\"
+ ]
}