aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/.config/nvim/lua/plugins/autopairs.lua
blob: 81712378344d4c26c9d0adeb53db326bc3f31c10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- autopairs
-- https://github.com/windwp/nvim-autopairs

return {
  'windwp/nvim-autopairs',
  event = 'InsertEnter',
  config = function()
    local autopairs = require 'nvim-autopairs'
    autopairs.setup {
      check_ts = true, -- Use treesitter for smarter pairing
      disable_filetype = { 'TelescopePrompt' },
    }
  end,
}