Cleanup plugins

This commit is contained in:
2023-09-02 21:53:54 +02:00
parent 9d1355ca6c
commit a8e33ea157
+1 -30
View File
@@ -29,7 +29,6 @@ local plugins = {
{ {
"L3MON4D3/LuaSnip", "L3MON4D3/LuaSnip",
config = function () require("config.luasnip") end, config = function () require("config.luasnip") end,
-- dependencies = { 'rafamadriz/friendly-snippets' },
-- comment out on windows and install jsregexp manually -- comment out on windows and install jsregexp manually
build = "make install_jsregexp", build = "make install_jsregexp",
version = "2.*", version = "2.*",
@@ -55,22 +54,10 @@ local plugins = {
}, },
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
-- dependencies = {
-- 'L3MON4D3/LuaSnip',
-- 'windwp/nvim-autopairs',
-- 'saadparwaiz1/cmp_luasnip',
-- 'hrsh7th/cmp-buffer',
-- 'hrsh7th/cmp-path',
-- 'hrsh7th/cmp-cmdline',
-- 'onsails/lspkind-nvim',
-- },
config = function () require("config.nvim-cmp") end, config = function () require("config.nvim-cmp") end,
}, },
{ {
"hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-nvim-lsp",
-- dependencies = {
-- 'hrsh7th/nvim-cmp'
-- },
}, },
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
@@ -79,7 +66,6 @@ local plugins = {
{ {
"williamboman/mason-lspconfig.nvim", "williamboman/mason-lspconfig.nvim",
config = function () require("config.mason-lspconfig") end, config = function () require("config.mason-lspconfig") end,
-- dependencies = { 'williamboman/mason.nvim' },
}, },
{ {
"ray-x/lsp_signature.nvim", "ray-x/lsp_signature.nvim",
@@ -91,11 +77,6 @@ local plugins = {
config = function () require("lsp"):setup() end, config = function () require("lsp"):setup() end,
lazy = true, lazy = true,
ft = require("lsp"):filetypes(), ft = require("lsp"):filetypes(),
-- dependencies = {
-- 'williamboman/mason-lspconfig.nvim',
-- 'ray-x/lsp_signature.nvim',
-- 'hrsh7th/cmp-nvim-lsp'
-- },
}, },
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
@@ -112,7 +93,6 @@ local plugins = {
}, },
{ {
"rcarriga/nvim-dap-ui", "rcarriga/nvim-dap-ui",
-- dependencies = { 'mfussenegger/nvim-dap' },
config = function () require("config.nvim-dap-ui") end, config = function () require("config.nvim-dap-ui") end,
}, },
{ {
@@ -126,19 +106,16 @@ local plugins = {
}, },
{ {
"rbong/vim-flog", "rbong/vim-flog",
-- dependencies = { 'tpope/vim-fugitive' },
config = function () require("config.flog") end, config = function () require("config.flog") end,
}, },
{ {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
-- dependencies = { 'kyazdani42/nvim-web-devicons', 'vim-fugitive' },
config = function () require("config.lualine") end, config = function () require("config.lualine") end,
lazy = true, lazy = true,
event = "VimEnter", event = "VimEnter",
}, },
{ {
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
-- dependencies = { 'kyazdani42/nvim-web-devicons' },
config = function () require("config.bufferline") end, config = function () require("config.bufferline") end,
lazy = true, lazy = true,
event = "VimEnter", event = "VimEnter",
@@ -148,14 +125,12 @@ local plugins = {
}, },
{ {
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
-- dependencies = { 'nvim-lua/plenary.nvim' },
config = function () require("config.gitsigns") end, config = function () require("config.gitsigns") end,
lazy = true, lazy = true,
event = "VimEnter", event = "VimEnter",
}, },
{ {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
-- dependencies = { 'nvim-lua/plenary.nvim' },
config = function () require("config.telescope") end, config = function () require("config.telescope") end,
lazy = true, lazy = true,
event = "VimEnter", event = "VimEnter",
@@ -204,10 +179,6 @@ local plugins = {
}, },
} }
local opts = { local opts = {}
-- defaults = {
-- lazy = true
-- }
}
require("lazy").setup(plugins, opts) require("lazy").setup(plugins, opts)