Skip to content

Commit b9e79ca

Browse files
committed
ocamllsp: add more filetypes
These are ocamlinterface, ocamllex and menhir. This is in preparation when these filetypes will be introduced in order to keep lsp working on them. The change is backwards compatible. For more information about the rationale of this change please read ocaml/vim-ocaml#61
1 parent dcbed9b commit b9e79ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/lspconfig/ocamllsp.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ local configs = require 'lspconfig/configs'
22
local util = require 'lspconfig/util'
33

44
local language_id_of = {
5+
menhir = 'ocaml.menhir';
56
ocaml = 'ocaml';
7+
ocamlinterface = 'ocaml.interface';
8+
ocamllex = 'ocaml.ocamllex';
69
reason = 'reason';
710
}
811

0 commit comments

Comments
 (0)