diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-09-24 23:31:21 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2025-09-24 23:31:21 +0000 |
| commit | 33d351cbcc2b12b8e12078515829d042863743a9 (patch) | |
| tree | 93b419c20635d923115fda60e0acf14e4352f9a4 /doc | |
| parent | feat(lsp/ocamllsp.lua): use root_markers instead of root_dir #4098 (diff) | |
| download | nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.tar nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.tar.gz nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.tar.bz2 nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.tar.lz nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.tar.xz nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.tar.zst nvim-lspconfig-33d351cbcc2b12b8e12078515829d042863743a9.zip | |
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/configs.md | 7 | ||||
| -rw-r--r-- | doc/configs.txt | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/configs.md b/doc/configs.md index 63f1a2d7..29860266 100644 --- a/doc/configs.md +++ b/doc/configs.md @@ -8035,8 +8035,11 @@ Default config: ```lua { "ocaml", "menhir", "ocamlinterface", "ocamllex", "reason", "dune" } ``` -- `get_language_id`: [../lsp/ocamllsp.lua:28](../lsp/ocamllsp.lua#L28) -- `root_dir`: [../lsp/ocamllsp.lua:28](../lsp/ocamllsp.lua#L28) +- `get_language_id`: [../lsp/ocamllsp.lua:42](../lsp/ocamllsp.lua#L42) +- `root_markers` : + ```lua + { { "dune-project", "dune-workspace" }, { "*.opam", "opam", "esy.json", "package.json" }, { ".git" } } + ``` --- diff --git a/doc/configs.txt b/doc/configs.txt index ab1c776a..c074bc9c 100644 --- a/doc/configs.txt +++ b/doc/configs.txt @@ -5867,8 +5867,9 @@ Default config: { "ocamllsp" } - filetypes: >lua { "ocaml", "menhir", "ocamlinterface", "ocamllex", "reason", "dune" } -- get_language_id (use "gF" to view): ../lsp/ocamllsp.lua:28 -- root_dir (use "gF" to view): ../lsp/ocamllsp.lua:28 +- get_language_id (use "gF" to view): ../lsp/ocamllsp.lua:42 +- root_markers: >lua + { { "dune-project", "dune-workspace" }, { "*.opam", "opam", "esy.json", "package.json" }, { ".git" } } < ------------------------------------------------------------------------------ |
