-
Notifications
You must be signed in to change notification settings - Fork 109
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
Python 3.6 f-string literal support #58
Comments
Trying to make a PR for this, but needs help!
I need to make Vim to treat above
A nice test case would be something like |
This has been fixed over at the fork vim-python/python-syntax. |
Python 3.6 has reached its last beta where its features are frozen now.
It introduces a new syntactic element: f-string literals.
https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep498
In f-string literals, the content inside braces are treated as real Python expressions with optional format string after a colon character like in
format()
protocol. The expression expansion may be done inside the format string as well though. (See the examples in the above link.)Let's add support for this.
The text was updated successfully, but these errors were encountered: