fix(nvim): delete py-requirements extra from the lazvim extras spec table
This commit is contained in:
1 parent
329ed77432
commit
3a72544d42
5 files changed
+50
-45
No files matched your search
@@ -8,6 +8,31 @@ return {
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
if type(opts.ensure_installed) == "table" then
|
||||
vim.list_extend(opts.ensure_installed, { "requirements" })
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"MeanderingProgrammer/py-requirements.nvim",
|
||||
event = {
|
||||
"BufRead requirements.txt",
|
||||
},
|
||||
dependencies = {
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {},
|
||||
opts = function(_, opts)
|
||||
table.insert(opts.sources, { name = "py-requirements" })
|
||||
end,
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"luckasRanarison/nvim-devdocs",
|
||||
optional = true,
|
||||
|
||||
Reference in new issue
Block a user