feat(extras): tags some extras as recommended

This commit is contained in:
Folke Lemaitre
2024-05-18 14:12:21 +02:00
parent 16eb3d9473
commit ef3bd3bd02
10 changed files with 93 additions and 60 deletions

View File

@ -9,6 +9,19 @@ local lsp = vim.g.lazyvim_python_lsp or "pyright"
local ruff = vim.g.lazyvim_python_ruff or "ruff_lsp"
return {
recommended = function()
return LazyVim.extras.wants({
ft = "python",
root = {
"pyproject.toml",
"setup.py",
"setup.cfg",
"requirements.txt",
"Pipfile",
"pyrightconfig.json",
},
})
end,
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)