From 7f461895b02139b8e1addf6ee6651fc3811c6cbe Mon Sep 17 00:00:00 2001 From: unrelentingtech Date: Fri, 8 Apr 2022 23:02:25 +0300 Subject: [PATCH] Add language server command for OCaml (#2035) --- book/src/generated/lang-support.md | 4 ++-- languages.toml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 69419e325..c4c649801 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -42,8 +42,8 @@ | markdown | ✓ | | | | | mint | | | | `mint` | | nix | ✓ | | ✓ | `rnix-lsp` | -| ocaml | ✓ | | ✓ | | -| ocaml-interface | ✓ | | | | +| ocaml | ✓ | | ✓ | `ocamllsp` | +| ocaml-interface | ✓ | | | `ocamllsp` | | org | ✓ | | | | | perl | ✓ | ✓ | ✓ | | | php | ✓ | ✓ | ✓ | `intelephense` | diff --git a/languages.toml b/languages.toml index b56328a85..6c07ec0b6 100644 --- a/languages.toml +++ b/languages.toml @@ -529,6 +529,7 @@ file-types = ["ml"] shebangs = [] roots = [] comment-token = "(**)" +language-server = { command = "ocamllsp" } indent = { tab-width = 2, unit = " " } [[grammar]] @@ -542,7 +543,8 @@ file-types = ["mli"] shebangs = [] roots = [] comment-token = "(**)" -indent = { tab-width = 2, unit = " "} +language-server = { command = "ocamllsp" } +indent = { tab-width = 2, unit = " " } [[grammar]] name = "ocaml-interface"