From 50a5176795eaf4aa7e4806410e799c5dda21bc8f Mon Sep 17 00:00:00 2001 From: Seiya <20365512+seiyab@users.noreply.github.com> Date: Sat, 11 Oct 2025 00:08:42 +0900 Subject: fix!: remove ocamlls #4118 ocamlls was added at #76. It was because ocaml-lsp-server, which is official one, was too young. In 2025, the official one works fine. On the other hand, unofficial ocaml-language-server is not maintaned. We can no longer access its GitHub repository. Issue: #4115 --- lsp/ocamlls.lua | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 lsp/ocamlls.lua (limited to 'lsp') diff --git a/lsp/ocamlls.lua b/lsp/ocamlls.lua deleted file mode 100644 index 90e9193a..00000000 --- a/lsp/ocamlls.lua +++ /dev/null @@ -1,20 +0,0 @@ ----@brief ---- ---- https://github.com/ocaml-lsp/ocaml-language-server ---- ---- `ocaml-language-server` can be installed via `npm` ---- ```sh ---- npm install -g ocaml-language-server ---- ``` - -local util = require 'lspconfig.util' - ----@type vim.lsp.Config -return { - cmd = { 'ocaml-language-server', '--stdio' }, - filetypes = { 'ocaml', 'reason' }, - root_dir = function(bufnr, on_dir) - local fname = vim.api.nvim_buf_get_name(bufnr) - on_dir(util.root_pattern('*.opam', 'esy.json', 'package.json')(fname)) - end, -} -- cgit v1.2.3-70-g09d2