[update] removed the depercated LazyVim.lsp.on_attach(**) method Snacks.util.lsp.on(**)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user