File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 375
375
"patterns" : [{ "include" : " source.nushell" }]
376
376
},
377
377
"function" : {
378
- "begin" : " ((?:export\\ s+)?def(?:\\ s+--\\ w+)*)\\ s+([\\ w\\ -]+|\" [\\ w\\ - ]+\" |'[\\ w\\ - ]+'|`[\\ w\\ - ]+`)(\\ s+--\\ w+)* " ,
378
+ "begin" : " ((?:export\\ s+)?def) (?:\\ s+((?: --\\ w+(?: \\ s+-- \\ w+ )*)))? \\ s+([\\ w\\ -]+|\" [\\ w\\ - ]+\" |'[\\ w\\ - ]+'|`[\\ w\\ - ]+`)(?: \\ s+((?: --\\ w+(?: \\ s+-- \\ w+)*)))? " ,
379
379
"beginCaptures" : {
380
380
"1" : { "name" : " entity.name.function.nushell" },
381
- "2" : { "name" : " entity.name.type.nushell" },
382
- "3" : { "name" : " entity.name.function.nushell" }
381
+ "2" : { "name" : " entity.name.function.nushell" },
382
+ "3" : { "name" : " entity.name.type.nushell" },
383
+ "4" : { "name" : " entity.name.function.nushell" }
383
384
},
384
385
"end" : " (?<=\\ })" ,
385
386
"patterns" : [
You can’t perform that action at this time.
0 commit comments