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

Correct use of b:NERDCommenterFirstInit #519

Merged
merged 1 commit into from
May 8, 2023

Conversation

ppwwyyxx
Copy link
Contributor

@ppwwyyxx ppwwyyxx commented May 8, 2023

fix #518

The code set the variable b:NERDCommenterFirstInit on the current buffer, but access the variable using buffer number 1 - this should be incorrect. Changed to bufnr() instead.

@alerque alerque merged commit 277bdfc into preservim:master May 8, 2023
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.

infinite recursion when trying to comment glsl code
2 participants