aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua32
1 files changed, 31 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 879f75a..4edbef6 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -35,11 +35,41 @@ return require('packer').startup(function()
use {
'neovim/nvim-lspconfig',
requires = {
- { 'hrsh7th/nvim-compe' },
+ {
+ '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' }
}
}
+ use 'L3MON4D3/LuaSnip'
+
use {
'nvim-telescope/telescope.nvim',
requires = {