Skip to content

Commit

Permalink
fix(python-ruff): disable hoverProvider for ruff and just use `py…
Browse files Browse the repository at this point in the history
…right`
  • Loading branch information
mehalter committed Jun 3, 2024
1 parent a562dbe commit c338c88
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lua/astrocommunity/pack/python-ruff/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ return {
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "ruff" })
end,
},
{
"AstroNvim/astrolsp",
opts = {
config = {
ruff = { on_attach = function(client) client.server_capabilities.hoverProvider = false end },
},
},
},
{
"jay-babu/mason-null-ls.nvim",
optional = true,
Expand Down

0 comments on commit c338c88

Please sign in to comment.