From d526240a7cfa1392e1a6ab8593ffe73e6efdd0d4 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Fri, 28 Aug 2020 01:26:05 +0200 Subject: [PATCH] feat(nvim-lsp): add .git to hls root_dir --- home/editors/lsp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/editors/lsp.vim b/home/editors/lsp.vim index 052f2c1..8a77287 100644 --- a/home/editors/lsp.vim +++ b/home/editors/lsp.vim @@ -59,7 +59,7 @@ configs.hls = { cmd = {"haskell-language-server-wrapper","--lsp"}; filetypes = {"haskell","lhaskell"}; root_dir = util.root_pattern( - "*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"); + "*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml", ".git"); settings = {}; }; }