Corrections for method highlighting
This commit is contained in:
parent
abedd12f9e
commit
da134c1fe6
|
@ -21,10 +21,11 @@ color cyan "\w+\("
|
|||
# Function/method names on definitions
|
||||
color green "function \w+\("
|
||||
color green "@\w+"
|
||||
color green "[[:blank:]]+\w+\(.*[^;]$"
|
||||
color green "^[[:blank:]]+\w+\(.*(\)| \{)$"
|
||||
|
||||
# Parameters inside method definitions
|
||||
color orange "\([a-zA-Z_0-9,= ]+\)( *\{|$)"
|
||||
color white " \([a-zA-Z_0-9,= ]+\)( *\{|$)"
|
||||
|
||||
# Class initialization
|
||||
color white "new \w+\("
|
||||
|
|
Loading…
Reference in New Issue