summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-08-22 17:04:10 +0200
committerAndreas Schneider <asn@cryptomilk.org>2021-08-22 17:04:10 +0200
commit16d72443e4faa747c81c5ed99871ed639fe93083 (patch)
tree982c00a09179c5bf2f96b76f9bbe09be4e9bdffe
parent7792b567431c8321da7dda0f8cf89c39248fe5fb (diff)
downloaddotfiles-16d72443e4faa747c81c5ed99871ed639fe93083.tar.gz
dotfiles-16d72443e4faa747c81c5ed99871ed639fe93083.tar.xz
dotfiles-16d72443e4faa747c81c5ed99871ed639fe93083.zip
nvim:plugins: Some cleanup
-rw-r--r--nvim/.config/nvim/lua/plugins.lua22
1 files changed, 12 insertions, 10 deletions
diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua
index d443e00..a355912 100644
--- a/nvim/.config/nvim/lua/plugins.lua
+++ b/nvim/.config/nvim/lua/plugins.lua
@@ -102,26 +102,22 @@ function Packer:load_packer()
}
use {
'hrsh7th/cmp-nvim-lsp',
+ requires = { 'hrsh7th/nvim-cmp' },
after = 'nvim-cmp',
}
use {
'hrsh7th/cmp-path',
+ requires = { 'hrsh7th/nvim-cmp' },
after = 'nvim-cmp',
}
use {
'hrsh7th/cmp-buffer',
+ requires = { 'hrsh7th/nvim-cmp' },
after = 'nvim-cmp',
}
use {
'saadparwaiz1/cmp_luasnip',
- after = 'nvim-cmp',
- }
- use {
- 'onsails/lspkind-nvim',
- after = 'nvim-cmp',
- }
- use {
- 'ray-x/lsp_signature.nvim',
+ requires = { 'hrsh7th/nvim-cmp' },
after = 'nvim-cmp',
}
@@ -143,7 +139,14 @@ function Packer:load_packer()
---------------------------------------------
-- LSP
---------------------------------------------
- use 'neovim/nvim-lspconfig'
+ use {
+ 'neovim/nvim-lspconfig'
+ }
+ use {
+ 'ray-x/lsp_signature.nvim',
+ requires = { 'neovim/nvim-lspconfig' },
+ after = 'nvim-cmp',
+ }
use {
"folke/trouble.nvim",
requires = { "kyazdani42/nvim-web-devicons", opt = true },
@@ -191,7 +194,6 @@ function Packer:load_packer()
use {
'beauwilliams/focus.nvim',
config = 'require("plugins.focus")',
- -- event = 'BufReadPre',
}
use {
'folke/which-key.nvim',