summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-26 12:01:16 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-26 12:01:16 +0200
commit88d2e86be120046bc45f3e783fd117192cd7dad5 (patch)
treed9d799d69b63b81bde882b26f88434ef1fa5ca91 /.config/nvim
parentf93bad12f1b4feeeee007ceab4a350eb1aa26c1e (diff)
Bug fix, add nvim-compe to plugins
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/config.lua2
-rw-r--r--.config/nvim/lua/plugins.lua13
2 files changed, 11 insertions, 4 deletions
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,
},
- }
+}