Skip to content

Commit

Permalink
fix(lsp): wrong on_attach arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Jan 20, 2025
1 parent 6f26c6d commit e8961ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/nvim/lua/plugins/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local M = {
}

function M.config()
local on_attach = function(bufnr)
local on_attach = function(_client, bufnr)
local function opts(desc)
return { buffer = bufnr, desc = desc }
end
Expand Down

0 comments on commit e8961ad

Please sign in to comment.