on master help sign in
Replace `*.cabal` in Haskell `roots` with `cabal.project` (#6828)

`roots` doesn't support wildcards. As such this root is dropped, and `cabal.project` is added, which is probably the best we can do for Cabal-based projects for now.

commit5aedf11493d83c97cd2cad1d1ac0488b9d1f5f36 authorOllie Charles <ollie@ocharles.org.uk> dateFri 21 Apr 2023, 04:51 (4 years ago) parentc3e2db7
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -875,7 +875,7 @@ name = "haskell"
875875scope = "source.haskell"
876876injection-regex = "haskell"
877877file-types = ["hs", "hs-boot"]
878−roots = ["Setup.hs", "stack.yaml", "*.cabal"]
878+roots = ["Setup.hs", "stack.yaml", "cabal.project"]
879879comment-token = "--"
880880language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
881881indent = { tab-width = 2, unit = " " }