From b79766ece2a1572452331ba240d19acbd41add98 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Wed, 16 Sep 2026 12:17:01 +0200 Subject: [PATCH] feat: ocaml support finalized --- nvim/lua/plugins/lsp/ls/ocaml.lua | 1 - nvim/lua/plugins/lsp/mason.lua | 2 +- nvim/lua/plugins/lsp/none-ls.lua | 12 ++++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/nvim/lua/plugins/lsp/ls/ocaml.lua b/nvim/lua/plugins/lsp/ls/ocaml.lua index f5b2e0b..5baeb9f 100644 --- a/nvim/lua/plugins/lsp/ls/ocaml.lua +++ b/nvim/lua/plugins/lsp/ls/ocaml.lua @@ -9,7 +9,6 @@ local on_attach = require("lsp-options").on_attach lsp.config("ocamllsp", { capabilities = capabilities, on_attach = on_attach, - cmd = { "docker", "exec", "nvim-ocaml", 'bash -lc "ocamllsp"' }, }) -- ── Enable configs ─────────────────────────────────────────────── diff --git a/nvim/lua/plugins/lsp/mason.lua b/nvim/lua/plugins/lsp/mason.lua index d6fde34..884e70f 100755 --- a/nvim/lua/plugins/lsp/mason.lua +++ b/nvim/lua/plugins/lsp/mason.lua @@ -44,7 +44,7 @@ return { "pyright", "rust_analyzer", -- "ruby_lsp", - "verible", + -- "verible", "vtsls", "vue_ls", "yamlls", diff --git a/nvim/lua/plugins/lsp/none-ls.lua b/nvim/lua/plugins/lsp/none-ls.lua index f3d4e93..c5c0787 100755 --- a/nvim/lua/plugins/lsp/none-ls.lua +++ b/nvim/lua/plugins/lsp/none-ls.lua @@ -18,9 +18,9 @@ return { null_ls.builtins.formatting.dart_format, require("none-ls.diagnostics.eslint_d"), require("none-ls.code_actions.eslint_d"), - require("none-ls.formatting.eslint_d").with( { - timeout = 4000 - } ), + require("none-ls.formatting.eslint_d").with({ + timeout = 4000, + }), null_ls.builtins.formatting.ocamlformat, null_ls.builtins.formatting.phpcbf, null_ls.builtins.formatting.prettier.with({ @@ -65,9 +65,9 @@ return { null_ls.builtins.formatting.shfmt, null_ls.builtins.formatting.stylua.with({ extra_args = { - '--indent-type', - 'Spaces' - } + "--indent-type", + "Spaces", + }, }), }, })