Do not use config setting in mason - fix nvim-java (#2948)

* Do not use config setting in mason
* plugins: remove un-needed config() calls

---------

Co-authored-by: Sidhanth Rathod <siduck@tutanota.com>
This commit is contained in:
Randy D. Wallace Jr. 2024-07-27 11:21:10 -05:00 committed by GitHub
parent c383cd4463
commit 4a2cefa5c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
return {
"nvim-lua/plenary.nvim",
{
"NvChad/base46",
@ -18,11 +19,8 @@ return {
{
"nvim-tree/nvim-web-devicons",
opts = function()
return { override = require "nvchad.icons.devicons" }
end,
config = function(_, opts)
dofile(vim.g.base46_cache .. "devicons")
require("nvim-web-devicons").setup(opts)
return { override = require "nvchad.icons.devicons" }
end,
},
@ -51,9 +49,6 @@ return {
opts = function()
return require "nvchad.configs.nvimtree"
end,
config = function(_, opts)
require("nvim-tree").setup(opts)
end,
},
{
@ -66,8 +61,6 @@ return {
end,
},
"nvim-lua/plenary.nvim",
-- formatting!
{
"stevearc/conform.nvim",
@ -76,9 +69,6 @@ return {
lua = { "stylua" },
},
},
config = function(_, opts)
require("conform").setup(opts)
end,
},
-- git stuff
@ -88,9 +78,6 @@ return {
opts = function()
return require "nvchad.configs.gitsigns"
end,
config = function(_, opts)
require("gitsigns").setup(opts)
end,
},
-- lsp stuff
@ -100,9 +87,6 @@ return {
opts = function()
return require "nvchad.configs.mason"
end,
config = function(_, opts)
require("mason").setup(opts)
end,
},
{
@ -157,9 +141,6 @@ return {
opts = function()
return require "nvchad.configs.cmp"
end,
config = function(_, opts)
require("cmp").setup(opts)
end,
},
{