Skip to content

Commit

Permalink
[JS] Enhance function call detection
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Jul 3, 2018
1 parent 0f01bab commit c0bf143
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syntaxes/fjsx15/function-call.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -39,37 +39,37 @@ variables:
contexts:
main:
# Generic function call.
# Simple function call.
- match: |
(?xi)
(?=
(?:\#\s*)?
{{commonIdentifier}}
(?:\s*{{comment}})?
\s*{{genericArguments}}
\s*(\?\.)?
\s*\(
)
set: [
meta,
arguments,
generic-arguments,
identifier,
optional-modifier
]
# Simple function call.
# Generic function call.
- match: |
(?xi)
(?=
(?:\#\s*)?
{{commonIdentifier}}
(?:\s*{{comment}})?
\s*{{genericArguments}}
\s*(\?\.)?
\s*\(
)
set: [
meta,
arguments,
generic-arguments,
identifier,
optional-modifier
]
Expand Down

0 comments on commit c0bf143

Please sign in to comment.