Skip to content

Commit

Permalink
README.md (suggestion): client.server_capabilities is deprecated (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoubelmhamdi committed Apr 5, 2023
1 parent 349701d commit 6e44fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ LSP for certain capabilities, like `textDocument/hover`:
```lua
local on_attach = function(client, bufnr)
-- Disable hover in favor of Pyright
client.resolved_capabilities.hover = false
client.server_capabilities.hoverProvider = false
end

require('lspconfig').ruff_lsp.setup {
Expand Down

0 comments on commit 6e44fad

Please sign in to comment.