Corrections for method highlighting

This commit is contained in:
Mal 2022-05-26 00:22:18 +02:00
parent abedd12f9e
commit da134c1fe6
1 changed files with 2 additions and 1 deletions

View File

@ -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+\("