mirror of https://github.com/helix-editor/helix
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.pull/6837/head
parent
c3e2db77f7
commit
5aedf11493
|
@ -875,7 +875,7 @@ name = "haskell"
|
||||||
scope = "source.haskell"
|
scope = "source.haskell"
|
||||||
injection-regex = "haskell"
|
injection-regex = "haskell"
|
||||||
file-types = ["hs", "hs-boot"]
|
file-types = ["hs", "hs-boot"]
|
||||||
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
|
roots = ["Setup.hs", "stack.yaml", "cabal.project"]
|
||||||
comment-token = "--"
|
comment-token = "--"
|
||||||
language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
|
language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
Loading…
Reference in New Issue