mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
refactor: use lazy's new opts_extend
functionality for treesitter and mason
This commit is contained in:
parent
f70d350085
commit
ab41ff551b
33 changed files with 54 additions and 219 deletions
|
@ -5,19 +5,13 @@ return {
|
|||
-- Treesitter git support
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "git_config", "gitcommit", "git_rebase", "gitignore", "gitattributes" })
|
||||
end,
|
||||
opts = { ensure_installed = { "git_config", "gitcommit", "git_rebase", "gitignore", "gitattributes" } },
|
||||
},
|
||||
|
||||
{
|
||||
"nvim-cmp",
|
||||
dependencies = {
|
||||
{
|
||||
"petertriho/cmp-git",
|
||||
opts = {},
|
||||
},
|
||||
{ "petertriho/cmp-git", opts = {} },
|
||||
},
|
||||
---@module 'cmp'
|
||||
---@param opts cmp.ConfigSchema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue