dotfiles/.config/nvim/lua/plugins/extras/lang/python-extended.lua

25 lines
513 B
Lua

-- LSP Server to use for Python.
-- Set to "basedpyright" to use basedpyright instead of pyright.
vim.g.lazyvim_python_lsp = "basedpyright"
vim.g.lazyvim_python_ruff = "ruff"
return {
{ import = "lazyvim.plugins.extras.lang.python" },
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"requirements",
},
},
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
opts = {
ensure_installed = {
"python-3.11",
},
},
},
}