Added OCaml support

This commit is contained in:
Eduardo Cueto-Mendoza 2024-04-24 16:11:53 +01:00
parent f5d54abb9d
commit 3ff42bdcc1
1 changed files with 12 additions and 3 deletions

View File

@ -18,6 +18,7 @@ then
'clangd',
'julials',
'lua_ls',
'ocamllsp',
'pylsp',
'rust_analyzer',
'zls'
@ -27,6 +28,7 @@ then
lsp.ensure_installed({
-- Replace these with whatever servers you want to install
'bashls',
'ocamllsp',
'pylsp'
})
elseif (MY_OS == 'Darwin')
@ -36,6 +38,7 @@ then
'clangd',
'julials',
'lua_ls',
'ocamllsp',
'pylsp',
'rust_analyzer',
'zls'
@ -123,7 +126,9 @@ then
},
})
require'lspconfig'.pylsp.setup{}
require('lspconfig').ocamllsp.setup({})
require('lspconfig').pylsp.setup({})
require('lspconfig').rust_analyzer.setup({
settings = {
@ -144,7 +149,9 @@ then
require('lspconfig').clangd.setup({})
require'lspconfig'.pylsp.setup{}
require('lspconfig').ocamllsp.setup({})
require('lspconfig').pylsp.setup({})
require('lspconfig').rust_analyzer.setup({
settings = {
@ -203,7 +210,9 @@ then
},
})
require'lspconfig'.pylsp.setup{}
require('lspconfig').ocamllsp.setup({})
require('lspconfig').pylsp.setup({})
require('lspconfig').rust_analyzer.setup({
settings = {