Unnamed repository; edit this file 'description' to name the repository.
feat: add `runhaskell` and `stack` as haskell shebangs (#14385)
Kristoffer Plagborg Bak Sørensen 6 months ago
parent 0a4207b · commit d63c2d2
-rw-r--r--languages.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 6276ead2..2bed6eb4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1522,6 +1522,7 @@ scope = "source.haskell"
injection-regex = "hs|haskell"
file-types = ["hs", "hs-boot", "hsc"]
roots = ["Setup.hs", "stack.yaml", "cabal.project"]
+shebangs = ["runhaskell", "stack"]
comment-token = "--"
block-comment-tokens = { start = "{-", end = "-}" }
language-servers = [ "haskell-language-server" ]