From 63d29bb2b0a7b153d69991cf956c55a240a1bc99 Mon Sep 17 00:00:00 2001 From: FredzyW Date: Fri, 1 Nov 2024 08:41:33 +0100 Subject: [PATCH] Fixed LSP --- lua/plugin/lsp_config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugin/lsp_config.lua b/lua/plugin/lsp_config.lua index 7b7c72c..7d5348a 100644 --- a/lua/plugin/lsp_config.lua +++ b/lua/plugin/lsp_config.lua @@ -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 {}