2024-05-27 16:35:03 +02:00
|
|
|
-- LSP Setup
|
|
|
|
local lsp_zero = require('lsp-zero')
|
|
|
|
|
2024-11-01 08:41:33 +01:00
|
|
|
lsp_zero.on_attach(function(client, bufnr)
|
|
|
|
lsp_zero.default_keymaps({buffer = bufnr })
|
2024-05-27 16:35:03 +02:00
|
|
|
end)
|
|
|
|
require 'lspconfig'.nil_ls.setup {}
|
|
|
|
require 'lspconfig'.marksman.setup {}
|
|
|
|
require 'lspconfig'.pylsp.setup {}
|
|
|
|
require 'lspconfig'.bashls.setup {}
|
|
|
|
require 'lspconfig'.dockerls.setup {}
|
|
|
|
require 'lspconfig'.docker_compose_language_service.setup {}
|
|
|
|
require 'lspconfig'.ansiblels.setup {}
|
2024-11-15 10:54:06 +01:00
|
|
|
require 'lspconfig'.tsserver.setup {}
|
2024-05-27 16:35:03 +02:00
|
|
|
require 'lspconfig'.yamlls.setup {}
|
|
|
|
require 'lspconfig'.lua_ls.setup {
|
|
|
|
settings = {
|
|
|
|
Lua = {
|
|
|
|
diagnostics = {
|
|
|
|
globals = { 'vim' }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
require'lspconfig'.vls.setup{}
|
|
|
|
require'lspconfig'.volar.setup{
|
|
|
|
filetypes = {'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue', 'json'}
|
|
|
|
}
|
|
|
|
require'lspconfig'.vuels.setup{}
|
|
|
|
require'lspconfig'.jsonls.setup{}
|
2024-07-23 12:54:35 +02:00
|
|
|
require'lspconfig'.gopls.setup{}
|
2024-10-22 13:51:25 +02:00
|
|
|
require'lspconfig'.jdtls.setup{}
|
2024-10-22 14:27:19 +02:00
|
|
|
require'lspconfig'.texlab.setup{}
|
2024-11-15 10:54:06 +01:00
|
|
|
require'lspconfig'.gleam.setup{}
|
|
|
|
require'lspconfig'.rust_analyzer.setup{}
|
2024-10-22 14:27:19 +02:00
|
|
|
|