on master help sign in
Add language server command for OCaml (#2035)
7f46189unrelentingtech
book/src/generated/lang-support.md+2−2
@@ -42,8 +42,8 @@
42| markdown | ✓ | | | |
42| markdown | ✓ | | | |
43| mint | | | | `mint` |
43| mint | | | | `mint` |
44| nix | ✓ | | ✓ | `rnix-lsp` |
44| nix | ✓ | | ✓ | `rnix-lsp` |
45−| ocaml | ✓ | | ✓ | |
45+| ocaml | ✓ | | ✓ | `ocamllsp` |
46−| ocaml-interface | ✓ | | | |
46+| ocaml-interface | ✓ | | | `ocamllsp` |
47| org | ✓ | | | |
47| org | ✓ | | | |
48| perl | ✓ | ✓ | ✓ | |
48| perl | ✓ | ✓ | ✓ | |
49| php | ✓ | ✓ | ✓ | `intelephense` |
49| php | ✓ | ✓ | ✓ | `intelephense` |
languages.toml+3−1
@@ -529,6 +529,7 @@ file-types = ["ml"]
529shebangs = []
529shebangs = []
530roots = []
530roots = []
531comment-token = "(**)"
531comment-token = "(**)"
532+language-server = { command = "ocamllsp" }
532indent = { tab-width = 2, unit = " " }
533indent = { tab-width = 2, unit = " " }
533
534
534[[grammar]]
535[[grammar]]
@@ -542,7 +543,8 @@ file-types = ["mli"]
542shebangs = []
543shebangs = []
543roots = []
544roots = []
544comment-token = "(**)"
545comment-token = "(**)"
546+language-server = { command = "ocamllsp" }
545−indent = { tab-width = 2, unit = " "}
547+indent = { tab-width = 2, unit = " " }
546
548
547[[grammar]]
549[[grammar]]
548name = "ocaml-interface"
550name = "ocaml-interface"