aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-10-24 22:47:51 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-10-24 22:47:51 +0200
commitb51479362becb5e0341b9c3fb0a71f4d07d87866 (patch)
tree06514da373f3586feccfba677d832b844d16d49b /lua/plugins.lua
parentbaa775734722374cbe8f633423c85e86fc3b2c2d (diff)
downloadnvim-conf-b51479362becb5e0341b9c3fb0a71f4d07d87866.tar.gz
nvim-conf-b51479362becb5e0341b9c3fb0a71f4d07d87866.zip
Update to use nvim-cmp instead of compe
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua39
1 files changed, 10 insertions, 29 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index c8013f4..6ae52a1 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -52,38 +52,19 @@ return require('packer').startup(function(use)
use { 'tpope/vim-dispatch', opt = true, cmd = {'Dispatch', 'Make', 'Focus', 'Start'}}
+ use "hrsh7th/nvim-cmp"
+ use "hrsh7th/cmp-buffer"
+ use "hrsh7th/cmp-path"
+ use "hrsh7th/cmp-nvim-lua"
+ use "hrsh7th/cmp-nvim-lsp"
+ use "saadparwaiz1/cmp_luasnip"
+ use "onsails/lspkind-nvim"
+
+ use "tjdevries/colorbuddy.nvim"
+
use {
'neovim/nvim-lspconfig',
requires = {
- {
- 'hrsh7th/nvim-compe',
- config = function()
- require'compe'.setup {
- enable = true;
- autocomplete = true;
- debug = false;
- min_lenght = 1;
- preselect = 'enable';
- throttle_time = 80;
- source_timeout = 200;
- resolve_timeout = 800;
- incomplete_delay = 400;
- max_abbr_width = 100;
- max_kind_width = 100;
-
- source = {
- path = true;
- buffer = true;
- calc = true;
- nvim_lsp = true;
- nvim_lua = true;
- vsnip = false;
- ultisnips = false;
- luasnip = true;
- };
- }
- end
- },
{ 'kabouzeid/nvim-lspinstall' }
}
}