add ocamllsp

This commit is contained in:
Vladan Popovic 2022-12-01 23:31:12 +01:00
parent c8d6c028e8
commit 2b9088acbf

View file

@ -79,7 +79,7 @@ capabilities.textDocument.codeAction = {
capabilities.textDocument.completion.completionItem.snippetSupport = true; capabilities.textDocument.completion.completionItem.snippetSupport = true;
-- LSPs -- LSPs
local servers = {"pylsp", "rust_analyzer", "vimls"} local servers = {"pylsp", "rust_analyzer", "vimls", "ocamllsp"}
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach} nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
end end