Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plugin conflicts #291

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix plugin conflicts #291

wants to merge 1 commit into from

Conversation

iTruth
Copy link

@iTruth iTruth commented May 6, 2020

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant