1
0
mirror of https://github.com/gryf/python-syntax.git synced 2025-12-17 11:30:27 +01:00

Fixed string.Template syntax

This commit is contained in:
Dmitry Vasiliev
2008-09-21 17:50:54 +04:00
parent 907ec01b45
commit ed21c2f0b0

View File

@@ -188,7 +188,7 @@ endif
if exists("python_highlight_string_templates") && python_highlight_string_templates != 0 if exists("python_highlight_string_templates") && python_highlight_string_templates != 0
" String templates " 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 endif
if exists("python_highlight_doctests") && python_highlight_doctests != 0 if exists("python_highlight_doctests") && python_highlight_doctests != 0