From 61d67d50b1981e9b9f82acd7d9a5209d0451c737 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sat, 9 Oct 2021 10:00:55 +0200 Subject: Vim added autopairs plugin --- .config/nvim/lua/opts.lua | 1 + .config/nvim/lua/plugins.lua | 1 + 2 files changed, 2 insertions(+) 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', -- cgit v1.2.3-70-g09d2