Make print purple instead of blue by making it a keyword again.
I've been looking at purple print statements for seven years now so the shift to builtin-blue was jarring to me. Also, this syntax made print look purple before putting the parens on, then blue after, which made it even more unpleasant.master
parent
abb9825c22
commit
e358a26480
|
@ -100,7 +100,7 @@ contexts:
|
|||
scope: keyword.control.flow.assert.python
|
||||
- match: \b(del)\b
|
||||
scope: keyword.other.del.python
|
||||
- match: \b(print)\b(?! *([,.()\]}]))
|
||||
- match: \b(print)\b(?! *([,.\]}]))
|
||||
scope: keyword.other.print.python
|
||||
- match: \b(exec)\b(?! *($|[,.()\]}]))
|
||||
scope: keyword.other.exec.python
|
||||
|
@ -1142,7 +1142,7 @@ contexts:
|
|||
# Python 2 functions
|
||||
|apply|cmp|coerce|execfile|intern|raw_input|reduce|reload|unichr|xrange
|
||||
# Python 3 functions
|
||||
|breakpoint|exec|print
|
||||
|breakpoint|exec
|
||||
)\b
|
||||
scope: support.function.builtin.python
|
||||
|
||||
|
|
Loading…
Reference in New Issue