From 4a2cefa5c17e971b45a5089862d031e2f6f0a8fc Mon Sep 17 00:00:00 2001 From: "Randy D. Wallace Jr." <815389+randywallace@users.noreply.github.com> Date: Sat, 27 Jul 2024 11:21:10 -0500 Subject: [PATCH] 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 --- lua/nvchad/plugins/init.lua | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/lua/nvchad/plugins/init.lua b/lua/nvchad/plugins/init.lua index e007230..11ccfd8 100644 --- a/lua/nvchad/plugins/init.lua +++ b/lua/nvchad/plugins/init.lua @@ -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, }, {