From c665e4f6e4ed18d7b613ae0410b6d7936599eaf4 Mon Sep 17 00:00:00 2001 From: mequidis Date: Fri, 20 Jan 2023 20:07:09 +0200 Subject: [PATCH] nvim: remove stupid "after" statements --- .config/nvim/lua/plugins.lua | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 566f0aa..7f4ae65 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -28,16 +28,30 @@ require("packer").startup(function() require("plugins.cmp") end, }) - use({ "hrsh7th/cmp-nvim-lsp", after = "nvim-cmp" }) - use({ "hrsh7th/cmp-vsnip", after = "nvim-cmp" }) - use({ "hrsh7th/cmp-buffer", after = "nvim-cmp" }) - use({ "hrsh7th/cmp-path", after = "nvim-cmp" }) - use({ "hrsh7th/cmp-nvim-lsp-signature-help", after = "nvim-cmp" }) + + use({ + "hrsh7th/cmp-nvim-lsp", + }) + + use({ + "hrsh7th/cmp-vsnip", + }) + + use({ + "hrsh7th/cmp-buffer", + }) + + use({ + "hrsh7th/cmp-path", + }) + + use({ + "hrsh7th/cmp-nvim-lsp-signature-help", + }) -- snippets use({ "hrsh7th/vim-vsnip", - after = "nvim-cmp", config = function() require("plugins.vsnip") end, @@ -45,13 +59,11 @@ require("packer").startup(function() use({ "rafamadriz/friendly-snippets", - after = "vim-vsnip", }) -- autopairs use({ "windwp/nvim-autopairs", - after = "nvim-cmp", config = function() require("plugins.autopairs") end, @@ -136,12 +148,10 @@ require("packer").startup(function() use({ "crusoexia/vim-monokai", - after = "nvim-treesitter", }) use({ "dylanaraps/wal.vim", - after = "nvim-treesitter", }) -- @@ -158,6 +168,5 @@ require("packer").startup(function() use({ "renerocksai/calendar-vim", - after = "telekasten.nvim", }) end)