-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
setup_buffer() fails if global config.enabled is false #744
Labels
bug
Something isn't working
Comments
lukas-reineke
added a commit
that referenced
this issue
Oct 23, 2023
lukas-reineke
added a commit
that referenced
this issue
Oct 23, 2023
lukas-reineke
added a commit
that referenced
this issue
Oct 23, 2023
lukas-reineke
added a commit
that referenced
this issue
Oct 23, 2023
lukas-reineke
added a commit
that referenced
this issue
Oct 23, 2023
Thanks, should be fixed now |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
If the global
config.enabled
is false,setup_buffer()
fails with an error.Steps to reproduce
:lua require("ibl").setup_buffer(0, {enabled = true})
on a buffer after Neovim is started.attempt to index a nil value
Expected behavior
IBL should be enabled on the current buffer.
Neovim version (nvim -v)
0.9.2
The text was updated successfully, but these errors were encountered: