feat: add runhaskell and stack as haskell shebangs (#14385)

This commit is contained in:
Kristoffer Plagborg Bak Sørensen
2025-09-04 16:06:27 +02:00
committed by GitHub
parent 0a4207be32
commit d63c2d2fea

View File

@@ -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" ]