File tree Expand file tree Collapse file tree
extensions/fsharp/syntaxes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 " If you want to provide a fix or improvement, please create a pull request against the original repository." ,
55 " Once accepted there, we are happy to receive an update request."
66 ],
7- "version" : " https://github.com/ionide/ionide-fsgrammar/commit/826aa0690b4a1fb536485cc2806fa73b451fcee7 " ,
7+ "version" : " https://github.com/ionide/ionide-fsgrammar/commit/7a24912ecdc886e4d973d6d3ab8df20a0feeda76 " ,
88 "name" : " fsharp" ,
99 "scopeName" : " source.fsharp" ,
1010 "fileTypes" : [
330330 "1" : {
331331 "name" : " punctuation.definition.string.end.fsharp"
332332 }
333- }
333+ },
334+ "patterns" : [
335+ {
336+ "include" : " #string_formatter"
337+ }
338+ ]
334339 },
335340 {
336341 "name" : " string.quoted.double.fsharp" ,
358363 {
359364 "name" : " invalid.illeagal.character.string.fsharp" ,
360365 "match" : " \\\\ (?![\\\\ ''ntbr]|u[a-fA-F0-9]{4}|u[a-fA-F0-9]{8})."
366+ },
367+ {
368+ "include" : " #string_formatter"
361369 }
362370 ]
363371 }
364372 ]
365373 },
374+ "string_formatter" : {
375+ "patterns" : [
376+ {
377+ "name" : " entity.name.type.format.specifier.fsharp" ,
378+ "match" : " (%0?-?(\\ d+)?((a|t)|(\\ .\\ d+)?(f|F|e|E|g|G|M)|(b|c|s|d|i|x|X|o)|(s|b|O)|(\\ +?A)))" ,
379+ "captures" : {
380+ "1" : {
381+ "name" : " keyword.other.format.specifier.fsharp"
382+ }
383+ }
384+ }
385+ ]
386+ },
366387 "variables" : {
367388 "patterns" : [
368389 {
You can’t perform that action at this time.
0 commit comments