aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-05-02 23:41:28 +0000
committergithub-actions <github-actions@github.com>2022-05-02 23:41:28 +0000
commitcf07a3ef217776f4fc231f6fcd91e3a4d28ee6de (patch)
tree5713e32277edb70190a10ea3d75ff50073829789
parentocamllsp: add support for the dune filetype (#1884) (diff)
downloadnvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.tar
nvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.tar.gz
nvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.tar.bz2
nvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.tar.lz
nvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.tar.xz
nvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.tar.zst
nvim-lspconfig-cf07a3ef217776f4fc231f6fcd91e3a4d28ee6de.zip
docs: update server_configurations.md
skip-checks: true
-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")
```