Compare commits
No commits in common. "d72ac90edca505dbfdd99b0f3b54f3f574da22ba" and "b277d9f3b453ea799de6b7f0cd8d404457b0e9ca" have entirely different histories.
d72ac90edc
...
b277d9f3b4
|
@ -19,19 +19,19 @@ color orange "function \w+\(.*\)"
|
|||
color cyan "\w+\("
|
||||
|
||||
# Function/method names on definitions
|
||||
color green "(function|static) \w+\("
|
||||
color green "function \w+\("
|
||||
color green "@\w+"
|
||||
color green "^[[:blank:]]+\w+\(.*(\)| \{)$"
|
||||
|
||||
# Parameters inside method definitions
|
||||
color orange "\([a-zA-Z_0-9,= '#]+\)( *\{|$)"
|
||||
color orange "\([a-zA-Z_0-9,= ]+\)( *\{|$)"
|
||||
color white " \([a-zA-Z_0-9,= ]+\)( *\{|$)"
|
||||
|
||||
# Class initialization
|
||||
color white "new \w+\("
|
||||
|
||||
# Statements
|
||||
color brightcyan "\<(class|function|extends|import|export|default|from|new|var|let|const|return|for|while|in|of|if|elseif|else|throw|continue|break|try|catch|switch|case|static|typeof|do|async|await)\>"
|
||||
color brightcyan "\<(class|function|extends|import|export|default|from|new|var|let|const|return|for|while|in|of|if|elseif|else|throw|continue|break|try|catch|switch|static|typeof|do|async|await)\>"
|
||||
|
||||
# Operators
|
||||
color red "(=|·|\/|\+|-|\*|\!|>|<|:|\?|&|\|)"
|
||||
|
|
|
@ -24,9 +24,6 @@ color orange "def \w+\(.*\)( *-> *\w+){0,1}:"
|
|||
color green "def \w+\("
|
||||
color green "@\w+"
|
||||
|
||||
# Import modules
|
||||
color magenta "(import|from) \w+"
|
||||
|
||||
# Statements
|
||||
color brightcyan "\<(class|def|import|from|return|for|while|global|in|if|elif|else|raise|is|not|and|or|with|continue|break|try|except|finally|pass|yield)\>"
|
||||
|
||||
|
|
Loading…
Reference in New Issue