aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/ocamllsp.lua
diff options
context:
space:
mode:
authorCiaran Downey <me@ciarand.me>2020-08-06 18:31:08 -0700
committerGitHub <noreply@github.com>2020-08-06 18:31:08 -0700
commit145a8d08e77ee18c6e60ebb817d2ddb0d1487599 (patch)
treef5331081c2a2b48d4a7fc2fd068718c3c6eb2508 /lua/nvim_lsp/ocamllsp.lua
parentMerge pull request #297 from kdheepak/kd/add-pr-template (diff)
downloadnvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.tar
nvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.tar.gz
nvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.tar.bz2
nvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.tar.lz
nvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.tar.xz
nvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.tar.zst
nvim-lspconfig-145a8d08e77ee18c6e60ebb817d2ddb0d1487599.zip
Use .merlin as identifier for ocamllsp, not merlin
This was missing the dot before. See https://github.com/ocaml/merlin/wiki/project-configuration for details on the file.
Diffstat (limited to 'lua/nvim_lsp/ocamllsp.lua')
-rw-r--r--lua/nvim_lsp/ocamllsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim_lsp/ocamllsp.lua b/lua/nvim_lsp/ocamllsp.lua
index 11393893..c029e427 100644
--- a/lua/nvim_lsp/ocamllsp.lua
+++ b/lua/nvim_lsp/ocamllsp.lua
@@ -5,7 +5,7 @@ configs.ocamllsp = {
default_config = {
cmd = {"ocamllsp",};
filetypes = {'ocaml', 'reason'};
- root_dir = util.root_pattern("merlin", "package.json", ".git");
+ root_dir = util.root_pattern(".merlin", "package.json", ".git");
};
docs = {
description = [[