jiangmiao / auto-pairs

Vim plugin, insert or delete brackets, parens, quotes in pair
http://www.vim.org/scripts/script.php?script_id=3599
4.09k stars 373 forks source link

Fix plugin conflicts #291

Open iTruth opened 4 years ago

iTruth commented 4 years ago

Some plug-ins (such as tagbar) will be loaded before auto pairs, and these plug-ins will create buffers on their own. In this way, auto pairs will not get the BuffEnter event and will not execute AutoPairsTryInit() I added call AutoPairsTryInit() in the last line, which means trying to initialize the plug-in at the first time to solve the problem.