on master help sign in
Replace `*.cabal` in Haskell `roots` with `cabal.project` (#6828)
5aedf11Ollie Charles
languages.toml+1−1
@@ -875,7 +875,7 @@ name = "haskell"
875scope = "source.haskell"
875scope = "source.haskell"
876injection-regex = "haskell"
876injection-regex = "haskell"
877file-types = ["hs", "hs-boot"]
877file-types = ["hs", "hs-boot"]
878−roots = ["Setup.hs", "stack.yaml", "*.cabal"]
878+roots = ["Setup.hs", "stack.yaml", "cabal.project"]
879comment-token = "--"
879comment-token = "--"
880language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
880language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
881indent = { tab-width = 2, unit = " " }
881indent = { tab-width = 2, unit = " " }