nvim: lua: nvim_lsp: hls: Do not start unless hie.yaml is found
Do not start haskell-language-server unless a hie.yaml file is present for proper multi-component support. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
690a1bdae8
commit
ebd1bd566b
|
@ -5,7 +5,7 @@ configs.hls = {
|
|||
default_config = {
|
||||
cmd = { "haskell-language-server-wrapper", "--lsp" };
|
||||
filetypes = { "haskell" };
|
||||
root_dir = util.root_pattern("stack.yaml", "package.yaml", ".git");
|
||||
root_dir = util.root_pattern("hie.yaml");
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue