Skip to content

Commit

Permalink
chore: add comment for new ocamllsp version map
Browse files Browse the repository at this point in the history
ps-id: 1AFE962E-84A1-4201-A145-48A0BAC402D7
  • Loading branch information
rgrinberg committed Feb 14, 2022
1 parent 9ec342d commit 49c9f9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ocaml_lsp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ let get_version_from_serverInfo { serverInfo; experimental_capabilities = _ } =
None)

let lsp_versions =
(* We define a mapping from OCaml version prefixes e.g. (4, 11, x) to
available versions of ocamllsp for this prefix. The last element in the
array of lsp versions is the latest version of ocamllsp for that prefix *)
let main =
[ ( (4, 12)
, [| "1.5.0"
Expand Down

0 comments on commit 49c9f9f

Please sign in to comment.