From 6bd7fd88395f9b5602d67b4d4736f2d6d895ab78 Mon Sep 17 00:00:00 2001 From: PowerUser64 <blakelysnorth@gmail.com> Date: Tue, 16 Nov 2021 23:26:02 -0800 Subject: [PATCH] nvim: new quote pairing plugin --- .config/nvim/lua/blake/plugins.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index 16e9adf..a365ec8 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -77,9 +77,9 @@ return require('packer').startup(function() require('blake.lsp').signature() end, } - use { -- Use the percent (%) key for more things - 'andymass/vim-matchup', - } + -- use { -- Use the percent (%) key for more things + -- 'andymass/vim-matchup', + -- } use { -- ALE: Support for lots of linters, etc 'dense-analysis/ale', ft = {'sh', 'zsh', 'zshrc', 'bashrc', 'bash'}, @@ -162,9 +162,12 @@ return require('packer').startup(function() vim.api.nvim_set_keymap('n', '<F5>', '<cmd>UndotreeToggle<CR>', { noremap = true, silent = true, }) end } - -- use { -- Quote pairing - -- 'jiangmiao/auto-pairs' - -- } + use { -- Quote pairing + 'windwp/nvim-autopairs', + config = function() + require('nvim-autopairs').setup() + end + } use { -- Alignment 'junegunn/vim-easy-align', }