File tree Expand file tree Collapse file tree 3 files changed +70
-1
lines changed
Expand file tree Collapse file tree 3 files changed +70
-1
lines changed Original file line number Diff line number Diff line change 863863 }
864864 }
865865 },
866+ {
867+ "name" : " markup.raw.block.markdown markup.raw.block.fenced.markdown" ,
868+ "end" : " (```|~~~|{%\\ s*endhighlight\\ s*%})\\ n" ,
869+ "begin" : " (```|~~~|{%\\ s*highlight)\\ s*(haskell)\\ s*((?:linenos\\ s*)?%})?$" ,
870+ "patterns" : [
871+ {
872+ "include" : " source.haskell"
873+ }
874+ ],
875+ "captures" : {
876+ "1" : {
877+ "name" : " punctuation.definition.fenced.markdown"
878+ },
879+ "2" : {
880+ "name" : " variable.language.fenced.markdown"
881+ },
882+ "3" : {
883+ "name" : " punctuation.definition.fenced.markdown"
884+ }
885+ }
886+ },
866887 {
867888 "name" : " markup.raw.block.markdown markup.raw.block.fenced.markdown" ,
868889 "end" : " (```|~~~|{%\\ s*endhighlight\\ s*%})\\ n" ,
Original file line number Diff line number Diff line change @@ -186,6 +186,21 @@ contexts:
186186 3 : punctuation.definition.fenced.markdown
187187 pop : true
188188 - include : scope:source.erlang
189+ - match : ' (```|~~~|{%\s*highlight)\s*(haskell)\s*((?:linenos\s*)?%})?$'
190+ captures :
191+ 1 : punctuation.definition.fenced.markdown
192+ 2 : variable.language.fenced.markdown
193+ 3 : punctuation.definition.fenced.markdown
194+ push :
195+ - meta_scope : markup.raw.block.markdown markup.raw.block.fenced.markdown
196+ - meta_content_scope : source.haskell
197+ - match : ' (```|~~~|{%\s*endhighlight\s*%})\n'
198+ captures :
199+ 1 : punctuation.definition.fenced.markdown
200+ 2 : variable.language.fenced.markdown
201+ 3 : punctuation.definition.fenced.markdown
202+ pop : true
203+ - include : scope:source.haskell
189204 - match : ' (```|~~~|{%\s*highlight)\s*(diff)\s*((?:linenos\s*)?%})?$'
190205 captures :
191206 1 : punctuation.definition.fenced.markdown
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <!DOCTYPE plist PUBLIC "-//Apple Computer //DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33<plist version =" 1.0" >
44<dict >
55 <key >fileTypes </key >
380380 </dict >
381381 </array >
382382 </dict >
383+ <dict >
384+ <key >begin </key >
385+ <string >(```|~~~|{%\s*highlight)\s*(haskell)\s*((?:linenos\s*)?%})?$ </string >
386+ <key >captures </key >
387+ <dict >
388+ <key >1 </key >
389+ <dict >
390+ <key >name </key >
391+ <string >punctuation.definition.fenced.markdown </string >
392+ </dict >
393+ <key >2 </key >
394+ <dict >
395+ <key >name </key >
396+ <string >variable.language.fenced.markdown </string >
397+ </dict >
398+ <key >3 </key >
399+ <dict >
400+ <key >name </key >
401+ <string >punctuation.definition.fenced.markdown </string >
402+ </dict >
403+ </dict >
404+ <key >end </key >
405+ <string >(```|~~~|{%\s*endhighlight\s*%})\n </string >
406+ <key >name </key >
407+ <string >markup.raw.block.markdown markup.raw.block.fenced.markdown </string >
408+ <key >patterns </key >
409+ <array >
410+ <dict >
411+ <key >include </key >
412+ <string >source.haskell </string >
413+ </dict >
414+ </array >
415+ </dict >
383416 <dict >
384417 <key >begin </key >
385418 <string >(```|~~~|{%\s*highlight)\s*(diff)\s*((?:linenos\s*)?%})?$ </string >
You can’t perform that action at this time.
0 commit comments