aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = " " }