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 375375 "patterns" : [{ "include" : " source.nushell" }]
376376 },
377377 "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+)*)))? " ,
379379 "beginCaptures" : {
380380 "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" }
383384 },
384385 "end" : " (?<=\\ })" ,
385386 "patterns" : [
You can’t perform that action at this time.
0 commit comments