File tree Expand file tree Collapse file tree 3 files changed +15
-16
lines changed 
vendor/phiki/phiki/resources/languages Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 1- 8c563e7774fb3883f0274dd5754a6dfffdcb853c 
1+ eea42916a8b62226dc69d46f0f98fd848c42dfb9 
Original file line number Diff line number Diff line change 410410      ]
411411    },
412412    "function" : {
413-       "begin" : " ((?:export\\ s+)?def(?:\\ s+--\\ w+)*)\\ s+([-\\ w]+|\" [- \\ w]+\" |'[- \\ w]+'|`[- \\ w]+`)(\\ s+--\\ w+)* " 
413+       "begin" : " ((?:export\\ s+)?def) (?:\\ s+( --\\ w+(?: \\ s+-- \\ w+ )*))? \\ s+([-\\ w]+|\" [- \\ w]+\" |'[- \\ w]+'|`[- \\ w]+`)(?: \\ s+( --\\ w+(?: \\ s+-- \\ w+)*))? " 
414414      "beginCaptures" : {
415415        "1" : {
416416          "name" : " entity.name.function.nushell" 
417417        },
418418        "2" : {
419-           "name" : " entity.name.type .nushell" 
419+           "name" : " entity.name.function .nushell" 
420420        },
421421        "3" : {
422+           "name" : " entity.name.type.nushell" 
423+         },
424+         "4" : {
422425          "name" : " entity.name.function.nushell" 
423426        }
424427      },
Original file line number Diff line number Diff line change 960960      ]
961961    },
962962    "declarations-extension" : {
963-       "begin" : " \\ b(extension)\\ s+((?<q>`?)[_ \\ p{L}][_ \\ p{L} \\ p{N} \\ p{M}]*( \\ k<q>)) " 
963+       "begin" : " \\ b(extension)\\ s+" 
964964      "beginCaptures" : {
965965        "1" : {
966966          "name" : " storage.type.$1.swift" 
967-         },
968-         "2" : {
967+         }
968+       },
969+       "end" : " (?<=})" 
970+       "name" : " meta.definition.type.$1.swift" 
971+       "patterns" : [
972+         {
973+           "begin" : " \\ G(?!\\ s*[\\ n:{])" 
974+           "end" : " (?=\\ s*[\\ n:{])|(?!\\ G)(?=\\ s*where\\ b)" 
969975          "name" : " entity.name.type.swift" 
970976          "patterns" : [
971977            {
972978              "include" : " #declarations-available-types" 
973979            }
974980          ]
975981        },
976-         "3" : {
977-           "name" : " punctuation.definition.identifier.swift" 
978-         },
979-         "4" : {
980-           "name" : " punctuation.definition.identifier.swift" 
981-         }
982-       },
983-       "end" : " (?<=})" 
984-       "name" : " meta.definition.type.$1.swift" 
985-       "patterns" : [
986982        {
987983          "include" : " #comments" 
988984        },
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments