From e58d28a9728fd5d451c98c48bd20c57fb9eec7dc Mon Sep 17 00:00:00 2001
From: 0rphee <79347623+0rphee@users.noreply.github.com>
Date: Sun, 3 Jul 2022 22:44:17 -0500
Subject: [PATCH] Add Haskell roots (#2954)

---
 languages.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 = "  " }