From b9e79ca471e0479734209da2138d3a0664c8d93d Mon Sep 17 00:00:00 2001 From: Pau Ruiz Safont Date: Mon, 17 May 2021 09:56:16 +0100 Subject: 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 https://github.com/ocaml/vim-ocaml/pull/61 --- lua/lspconfig/ocamllsp.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua') diff --git a/lua/lspconfig/ocamllsp.lua b/lua/lspconfig/ocamllsp.lua index c588b39d..5ce8441d 100644 --- a/lua/lspconfig/ocamllsp.lua +++ b/lua/lspconfig/ocamllsp.lua @@ -2,7 +2,10 @@ local configs = require 'lspconfig/configs' local util = require 'lspconfig/util' local language_id_of = { + menhir = 'ocaml.menhir'; ocaml = 'ocaml'; + ocamlinterface = 'ocaml.interface'; + ocamllex = 'ocaml.ocamllex'; reason = 'reason'; } -- cgit v1.2.3-70-g09d2