1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-21 16:54:23 +01:00

Python: Highlight "private" members (e.g. _var) in brown

This commit is contained in:
Christian Nicolai 2011-09-03 16:18:07 +02:00
parent 499511cac7
commit c0d169a2ce

View File

@ -16,13 +16,15 @@
=Bad bold red
=Brace magenta
=PrivateMember fg_310 # brown
:idle Idle
* idle
"#" comment recolor=-1
"0-9" first_digit recolor=-1
"'" string_sq_1 recolor=-1
"\"" string_dq_1 recolor=-1
"a-zA-Z_" ident buffer
"a-zA-Z_" ident noeat
"{}" brace recolor=-1
:brace Brace
@ -139,6 +141,10 @@
"0-9" enum
:ident Idle
* ident1 noeat buffer
"_" priv_member recolor=-1
:ident1 Idle
* idle noeat strings
"and" kw
"assert" kw
@ -170,11 +176,15 @@
"while" kw
"yield" kw
done
"a-zA-Z0-9_" ident
"a-zA-Z0-9_" ident1
:kw Keyword
* idle noeat
:priv_member PrivateMember
* idle noeat
"a-zA-Z0-9_" priv_member
.subr comment_todo
# initial state
:comment_todo_init Comment