mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
fix(python): basedpyright is now supported by mason-lspconfig
This commit is contained in:
parent
6e57e86c99
commit
4187417158
1 changed files with 0 additions and 12 deletions
|
@ -13,18 +13,6 @@ return {
|
|||
end
|
||||
end,
|
||||
},
|
||||
-- basedpyright support.
|
||||
-- Remove when merged: https://github.com/williamboman/mason-lspconfig.nvim/pull/379
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
if vim.g.lazyvim_python_lsp == "basedpyright" then
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
table.insert(opts.ensure_installed, "basedpyright")
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue