diff options
author | unrelentingtech | 2022-04-08 20:02:25 +0000 |
---|---|---|
committer | GitHub | 2022-04-08 20:02:25 +0000 |
commit | 7f461895b02139b8e1addf6ee6651fc3811c6cbe (patch) | |
tree | 1a960f950651609491de63e69751c60ac5bfbf5b | |
parent | 9caf7c0d5aae16acd76e39b078ef8a94ed102b65 (diff) |
Add language server command for OCaml (#2035)
-rw-r--r-- | book/src/generated/lang-support.md | 4 | ||||
-rw-r--r-- | 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 69419e32..c4c64980 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 b56328a8..6c07ec0b 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" |