summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-09 10:00:55 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-09 10:00:55 +0200
commit61d67d50b1981e9b9f82acd7d9a5209d0451c737 (patch)
treec44a10fec2f088e9d44d2a3f388a81e32f5f9e8c
parente7c9fe1e97f3b6f62ecb03b5fa7908b044730335 (diff)
Vim added autopairs plugin
-rw-r--r--.config/nvim/lua/opts.lua1
-rw-r--r--.config/nvim/lua/plugins.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua
index bf18e93..3696789 100644
--- a/.config/nvim/lua/opts.lua
+++ b/.config/nvim/lua/opts.lua
@@ -116,3 +116,4 @@ require'nvim-treesitter.configs'.setup {
-- Misc
require('kommentary.config').use_extended_mappings()
vim.o.tabline = '%!v:lua.require\'luatab\'.tabline()'
+require('nvim-autopairs').setup{}
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 3ae9343..0bc3536 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -15,6 +15,7 @@ require('packer').startup(function()
use 'norcalli/nvim-colorizer.lua'
use 'b3nj5m1n/kommentary'
use 'mhinz/vim-startify'
+ use 'windwp/nvim-autopairs'
use {
'nvim-telescope/telescope.nvim',