bracket-colorizer
bracket-colorizer copied to clipboard
Issue on Python f strings
Hello.
Great work on the package, it's really helpfull. I think i found a bug, on Python's f strings the matcher does not work, it stays as the default grey. Here's an example:
print(f"Expected: {(total*int(time_per_img))/60} mins")
It's true that i can write the calculation outside the brackets of the f string and it'll work properly, but i think this should be possible.
This package skips strings so it doesn't wrongly match brackets outside of the string with brackets inside the string (e.g. (")"))
Since brackets inside strings don't need to match it would probably be more annoying than helpful.
Although this might be a helpful feature that could be off by default in the settings.
That is a totally valid explanation. Thanks!