mirror of
https://github.com/gryf/python-syntax.git
synced 2026-10-06 22:30:33 +02:00
Fixed string.Template syntax
This commit is contained in:
1 parent
907ec01b45
commit
ed21c2f0b0
1 file changed
+1
-1
+1
-1
@@ -188,7 +188,7 @@ endif
|
||||
|
||||
if exists("python_highlight_string_templates") && python_highlight_string_templates != 0
|
||||
" String templates
|
||||
syn match pythonStrTemplate "\$\(\$\|{[^}]*}\|[a-zA-Z_][a-zA-Z0-9_]*\)" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
|
||||
syn match pythonStrTemplate "\$\(\$\|{[a-zA-Z_][a-zA-Z0-9_]*}\|[a-zA-Z_][a-zA-Z0-9_]*\)" contained containedin=pythonString,pythonUniString,pythonRawString,pythonUniRawString
|
||||
endif
|
||||
|
||||
if exists("python_highlight_doctests") && python_highlight_doctests != 0
|
||||
|
||||
Reference in new issue
Block a user