mirror of
https://github.com/Reuh/sublime-candran.git
synced 2025-10-27 10:09:31 +00:00
Short function with varags as sole argument
This commit is contained in:
parent
db55c7d463
commit
aaeb092769
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ variables:
|
||||||
identifier_raw: (?:{{identifier_start}}{{identifier_char}}*)
|
identifier_raw: (?:{{identifier_start}}{{identifier_char}}*)
|
||||||
identifier: (?:(?!{{reserved_word}}){{identifier_raw}})
|
identifier: (?:(?!{{reserved_word}}){{identifier_raw}})
|
||||||
|
|
||||||
short_function_begin: (?:\:(?=\()|(?=\(\))|(?=\({{identifier}}[=,\)]))
|
short_function_begin: (?:\:(?=\()|(?=\(\))|(?=\(\s*\.\.\.\s*\))|(?=\({{identifier}}[=,\)]))
|
||||||
function_args_begin: (?:\(|"|'|\[=*\[|\{)
|
function_args_begin: (?:\(|"|'|\[=*\[|\{)
|
||||||
function_call_ahead: (?=\s*{{function_args_begin}})
|
function_call_ahead: (?=\s*{{function_args_begin}})
|
||||||
function_assignment_ahead: (?=\s*=\s*(?:function|{{short_function_begin}}){{identifier_break}})
|
function_assignment_ahead: (?=\s*=\s*(?:function|{{short_function_begin}}){{identifier_break}})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue