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 {}