Skip to content

Commit 40a6c93

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 4eefe55 commit 40a6c93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)