Update gopls to function with neovim 0.11

This commit is contained in:
Martin Larsson 2025-05-12 00:42:41 +02:00
parent 8392809d49
commit 8d1e7ed2fe

View file

@ -12,7 +12,7 @@ return {
lintTool = "golangci-lint",
},
},
root_dir = function(callback)
root_dir = function(_, callback)
local path = vim.fn.expand("%:p")
if not path or path == "" then
callback(nil)