File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Revision 2.6.1 (unknown):
1313 "python_highlight_string_templates" option;
1414 - Added support for str.format syntax controlled by
1515 "python_highlight_string_format" option;
16+ - Removed highlighting for "--" and "++" because it's a valid Python
17+ expressions which can be interpreted as "a + +b";
1618
1719Revision 2.5.6 (2007-02-04):
1820
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ syn keyword pythonTodo TODO FIXME XXX contained
129129" Errors
130130syn match pythonError " \<\d\+\D\+\> " display
131131syn match pythonError " [$?]" display
132- syn match pythonError " [-+ &|]\{ 2,}" display
132+ syn match pythonError " [&|]\{ 2,}" display
133133syn match pythonError " [=]\{ 3,}" display
134134
135135" TODO: Mixing spaces and tabs also may be used for pretty formatting multiline
You can’t perform that action at this time.
0 commit comments