[nvim] cleanup: remove nvim-autopairs

This commit is contained in:
David JULIEN 2023-01-18 09:42:54 +01:00
parent 1545ec85da
commit 0c8d9ac4c1
2 changed files with 0 additions and 11 deletions

View File

@ -5,7 +5,6 @@
local cmp = require("cmp")
local luasnip = require("luasnip")
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local has_words_before = function()
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
@ -14,9 +13,6 @@ local has_words_before = function()
sub(col, col):match('%s') == nil
end
-- If you want insert `(` after select function or method item
cmp.event:on( 'confirm_done', cmp_autopairs.on_confirm_done({ map_char = { tex = '' } }))
-- Custom item icons
local icons = { }

View File

@ -118,13 +118,6 @@ return require("packer").startup(function()
config = function() require("plugin.comment") end
}
-- autopairs
use {
"windwp/nvim-autopairs",
config = function() require("nvim-autopairs").setup() end
}
-- automatically setup the config after cloning
if PACKER_BOOTSTRAP then
require("packer").sync()