mirror of
https://github.com/vim-python/python-syntax.git
synced 2025-12-07 05:04:35 +08:00
move {{ and }} matching so that it gets highlighted correctly
This commit is contained in:
@@ -235,6 +235,7 @@ b"${test} ${test ${test}aname $$$ $test+nope"
|
||||
f"{var}...{arr[123]} normal {var['{'] // 0xff} \"xzcb\" 'xzcb' {var['}'] + 1} text"
|
||||
f"{expr1 if True or False else expr2} wow {','.join(c.lower() for c in 'asdf')}"
|
||||
f"hello {expr:.2f} yes {(lambda: 0b1)():#03x} lol {var!r}"
|
||||
f'brackets: {{ 1 + 2 }} and {{{{ 3 + 4 }}}}'
|
||||
|
||||
# Doctests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user