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: try_add_wrapper errors if passed nil for bufnr #1648

Merged
merged 2 commits into from
Jan 9, 2022

Conversation

oncomouse
Copy link
Contributor

In configs.lua, the autocmd at L93 fails because manager.try_add_wrapper does not handle being supplied nil for bufnr. This PR uses the same method from manager.try_add at L216 to replace nil with api.nvim_get_current_buf().

@mjlbach mjlbach merged commit d285f72 into neovim:master Jan 9, 2022
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.

2 participants