mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 01:08:59 +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
|
@ -9,11 +9,7 @@ return {
|
|||
{ "Hoffs/omnisharp-extended-lsp.nvim", lazy = true },
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
if type(opts.ensure_installed) == "table" then
|
||||
vim.list_extend(opts.ensure_installed, { "c_sharp" })
|
||||
end
|
||||
end,
|
||||
opts = { ensure_installed = { "c_sharp" } },
|
||||
},
|
||||
{
|
||||
"nvimtools/none-ls.nvim",
|
||||
|
@ -41,11 +37,7 @@ return {
|
|||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = function(_, opts)
|
||||
if type(opts.ensure_installed) == "table" then
|
||||
vim.list_extend(opts.ensure_installed, { "netcoredbg", "csharpier" })
|
||||
end
|
||||
end,
|
||||
opts = { ensure_installed = { "csharpier", "netcoredbg" } },
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue