aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/server_configurations.md4
-rw-r--r--doc/server_configurations.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 12da7b92..b29a26ab 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -3467,7 +3467,7 @@ require'lspconfig'.ocamllsp.setup{}
```
- `filetypes` :
```lua
- { "ocaml", "ocaml.menhir", "ocaml.interface", "ocaml.ocamllex", "reason" }
+ { "ocaml", "ocaml.menhir", "ocaml.interface", "ocaml.ocamllex", "reason", "dune" }
```
- `get_language_id` :
```lua
@@ -3475,7 +3475,7 @@ require'lspconfig'.ocamllsp.setup{}
```
- `root_dir` :
```lua
- root_pattern("*.opam", "esy.json", "package.json", ".git")
+ root_pattern("*.opam", "esy.json", "package.json", ".git", "dune-project", "dune-workspace")
```
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 12da7b92..b29a26ab 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -3467,7 +3467,7 @@ require'lspconfig'.ocamllsp.setup{}
```
- `filetypes` :
```lua
- { "ocaml", "ocaml.menhir", "ocaml.interface", "ocaml.ocamllex", "reason" }
+ { "ocaml", "ocaml.menhir", "ocaml.interface", "ocaml.ocamllex", "reason", "dune" }
```
- `get_language_id` :
```lua
@@ -3475,7 +3475,7 @@ require'lspconfig'.ocamllsp.setup{}
```
- `root_dir` :
```lua
- root_pattern("*.opam", "esy.json", "package.json", ".git")
+ root_pattern("*.opam", "esy.json", "package.json", ".git", "dune-project", "dune-workspace")
```