[update] removed the depercated LazyVim.lsp.on_attach(**) method Snacks.util.lsp.on(**)

This commit is contained in:
Daveanand Mannie
2026-01-12 10:44:52 -05:00
parent 04b8487bab
commit 301a265080
2 changed files with 10 additions and 4 deletions

View File

@@ -41,11 +41,17 @@ return {
},
},
},
-- setup = {
-- basedpyright = function()
-- LazyVim.lsp.on_attach(function(client, _)
-- client.server_capabilities.hoverProvider = true
-- end, "basedpyright")
-- },
setup = {
basedpyright = function()
LazyVim.lsp.on_attach(function(client, _)
require("snacks").util.lsp.on({ name = "basedpyright" }, function(_, client)
client.server_capabilities.hoverProvider = true
end, "basedpyright")
end)
end,
},
},