Skip to content

Commit 33d351c

Browse files
docs: update configs.md
skip-checks: true
1 parent 9af1d61 commit 33d351c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

doc/configs.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8035,8 +8035,11 @@ Default config:
80358035
```lua
80368036
{ "ocaml", "menhir", "ocamlinterface", "ocamllex", "reason", "dune" }
80378037
```
8038-
- `get_language_id`: [../lsp/ocamllsp.lua:28](../lsp/ocamllsp.lua#L28)
8039-
- `root_dir`: [../lsp/ocamllsp.lua:28](../lsp/ocamllsp.lua#L28)
8038+
- `get_language_id`: [../lsp/ocamllsp.lua:42](../lsp/ocamllsp.lua#L42)
8039+
- `root_markers` :
8040+
```lua
8041+
{ { "dune-project", "dune-workspace" }, { "*.opam", "opam", "esy.json", "package.json" }, { ".git" } }
8042+
```
80408043

80418044
---
80428045

doc/configs.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5867,8 +5867,9 @@ Default config:
58675867
{ "ocamllsp" }
58685868
- filetypes: >lua
58695869
{ "ocaml", "menhir", "ocamlinterface", "ocamllex", "reason", "dune" }
5870-
- get_language_id (use "gF" to view): ../lsp/ocamllsp.lua:28
5871-
- root_dir (use "gF" to view): ../lsp/ocamllsp.lua:28
5870+
- get_language_id (use "gF" to view): ../lsp/ocamllsp.lua:42
5871+
- root_markers: >lua
5872+
{ { "dune-project", "dune-workspace" }, { "*.opam", "opam", "esy.json", "package.json" }, { ".git" } }
58725873
<
58735874

58745875
------------------------------------------------------------------------------

0 commit comments

Comments
 (0)