Skip to content

Commit

Permalink
Replace *.cabal in Haskell roots with cabal.project (helix-edit…
Browse files Browse the repository at this point in the history
…or#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.
  • Loading branch information
ocharles authored and wes-adams committed Jul 3, 2023
1 parent f48ade2 commit 65592ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ name = "haskell"
scope = "source.haskell"
injection-regex = "haskell"
file-types = ["hs", "hs-boot"]
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
roots = ["Setup.hs", "stack.yaml", "cabal.project"]
comment-token = "--"
language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
indent = { tab-width = 2, unit = " " }
Expand Down

0 comments on commit 65592ae

Please sign in to comment.