Fixed LSP

This commit is contained in:
FredzyW 2024-11-01 08:41:33 +01:00
parent a8c4cad4c0
commit 63d29bb2b0

View file

@ -1,8 +1,8 @@
-- LSP Setup
local lsp_zero = require('lsp-zero')
lsp_zero.on_attach(function(bufnr)
lsp_zero.default_keymaps({ buffer = bufnr })
lsp_zero.on_attach(function(client, bufnr)
lsp_zero.default_keymaps({buffer = bufnr })
end)
require 'lspconfig'.nil_ls.setup {}
require 'lspconfig'.marksman.setup {}