nvim/after/plugin/lsp.lua

16 lines
358 B
Lua
Raw Permalink Normal View History

2023-12-02 16:51:36 +01:00
local lsp_zero = require('lsp-zero')
2023-06-28 18:50:56 +02:00
2023-12-02 16:51:36 +01:00
lsp_zero.on_attach(function(client, bufnr)
-- see :help lsp-zero-keybindings
-- to learn the available actions
lsp_zero.default_keymaps({buffer = bufnr})
2023-06-28 18:50:56 +02:00
end)
2023-12-02 16:51:36 +01:00
require('mason').setup({})
require('mason-lspconfig').setup({
ensure_installed = {},
handlers = {
lsp_zero.default_setup,
},
})