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: set_config #779

Closed

Conversation

Danielkonge
Copy link
Contributor

This code fixes the problem I mention with ibl.overwrite() in #778. With this bug fix I get the expected behavior mentioned in that issue. (This also closes that issue, since I get the behavior I was asking for.)

@lukas-reineke
Copy link
Owner

This is wrong, setup and by extension set_config explicitly resets to the default. From the help

setup is idempotent, meaning you can call it multiple times, and each call will reset indent-blankline. If you want to only update the current configuration, use |ibl.update()|.

Also, ibl.overwrite does not call set_config, I'm not sure I understand what your problem is.

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