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

turn autoclosePairs and autoNewlinePairs into buffer-local options #3562

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matthias314
Copy link
Contributor

@matthias314 matthias314 commented Dec 7, 2024

This way one can configure different brackets for different buffers. This seems to me the natural way to do.

At present, the new options are called pairs and newlinePairs. Should the latter one be renamed, for example to newline_pairs?

EDIT: For example, with this PR one can say

micro.InfoBar().Buf.Settings["autoclose.pairs"] = {}

in init.lua's init to turn off autoclosing for the infobar. I don't find that feature helpful when doing incremental searches.

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