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 auto-closing pairs for quotes in fstrings (bolt) #22

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

Conversation

thehuglet
Copy link

Currently the extension's auto-closing pairs don't work well with bolt's fstrings, as inputting f" or f' will not produce an auto-closing quote as expected, instead the user has to input a second quote manually, which actually produces 3 quotes (f""" or f'''). This is very annoying and requires the user to manually remove the excess quote every time.

This pull requests fixes that issue, ensuring both single and double quotes auto-close correctly when used along an fstring in bolt.

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