aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0rphee2022-07-04 03:44:17 +0000
committerGitHub2022-07-04 03:44:17 +0000
commite58d28a9728fd5d451c98c48bd20c57fb9eec7dc (patch)
tree8ac062126d0da18e4da6c92f78486084fa580b88
parent4c30a3609aa8fbcca97609d281f5df449c234674 (diff)
Add Haskell roots (#2954)
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index c9ecc76f..7c63c051 100644
--- a/languages.toml
+++ b/languages.toml
@@ -660,7 +660,7 @@ name = "haskell"
scope = "source.haskell"
injection-regex = "haskell"
file-types = ["hs"]
-roots = []
+roots = ["Setup.hs", "stack.yaml", "*.cabal"]
comment-token = "--"
language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }
indent = { tab-width = 2, unit = " " }