From 88d2e86be120046bc45f3e783fd117192cd7dad5 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 26 Aug 2021 12:01:16 +0200 Subject: Bug fix, add nvim-compe to plugins --- .config/nvim/config.lua | 2 +- .config/nvim/lua/plugins.lua | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/config.lua b/.config/nvim/config.lua index c0e572a..803e7d0 100644 --- a/.config/nvim/config.lua +++ b/.config/nvim/config.lua @@ -14,7 +14,7 @@ require("extra.json_schemas").setup() -- After changing plugin config it is recommended to run :PackerCompile options.builtin.compe.active = true -options.builtin.autopairs.active = false +options.builtin.autopairs.active = true options.builtin.dashboard.active = true options.builtin.terminal.active = true options.builtin.telescope.active = true diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 4effcb1..6eb71be 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -13,7 +13,6 @@ return { end, }, - { "nvim-lua/popup.nvim" }, { "nvim-lua/plenary.nvim" }, @@ -25,7 +24,15 @@ return { end, disable = not options.builtin.telescope.active, }, - + -- Completion & Snippets + { + "hrsh7th/nvim-compe", + event = "InsertEnter", + config = function() + require("core.compe").setup() + end, + disable = not options.builtin.compe.active, + }, { "hrsh7th/vim-vsnip", -- wants = "friendly-snippets", @@ -169,4 +176,4 @@ return { end, disable = not options.builtin.terminal.active, }, - } +} -- cgit v1.2.3-70-g09d2