From 7077a8ffa556aed4e3807a822f4930be8a29e4be Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 15 Dec 2021 14:44:15 -0500 Subject: [PATCH] Use package.yaml to point to project root of haskell --- home/kakoune/kak-lsp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/kakoune/kak-lsp.nix b/home/kakoune/kak-lsp.nix index f972b53..239b166 100644 --- a/home/kakoune/kak-lsp.nix +++ b/home/kakoune/kak-lsp.nix @@ -81,7 +81,7 @@ let args = [ "--lsp" ]; command = "haskell-language-server-wrapper"; filetypes = [ "haskell" ]; - roots = [ "Setup.hs" "stack.yaml" "*.cabal" ]; + roots = [ "Setup.hs" "stack.yaml" "*.cabal" "package.yaml" ]; }; html = { args = [ "--stdio" ];