lib/code_rippa/syntax/camlp4.syntax in code_rippa-0.0.7 vs lib/code_rippa/syntax/camlp4.syntax in code_rippa-1.0.0

- old
+ new

@@ -1,36 +1,36 @@ ---- +--- name: camlp4 scopeName: source.camlp4.ocaml -repository: - camlpppp-streams: - patterns: +repository: + camlpppp-streams: + patterns: - name: meta.camlp4-stream.element.ocaml - endCaptures: - "1": + endCaptures: + '1': name: punctuation.separator.camlp4.ocaml - begin: (') - beginCaptures: - "1": + begin: "(')" + beginCaptures: + '1': name: punctuation.definition.camlp4.simple-element.ocaml - end: (;)(?=\s*')|(?=\s*>]) - patterns: + end: "(;)(?=\\s*')|(?=\\s*>])" + patterns: - include: source.ocaml uuid: 37538B6B-CEFA-4DAE-B1E4-1218DB82B37F -foldingStartMarker: (\bEXTEND\B) -patterns: +foldingStartMarker: "(\\bEXTEND\\B)" +patterns: - name: meta.camlp4-stream.ocaml - endCaptures: - "1": + endCaptures: + '1': name: punctuation.definition.camlp4-stream.ocaml - begin: (\[<)(?=.*?>]) - beginCaptures: - "1": + begin: "(\\[<)(?=.*?>])" + beginCaptures: + '1': name: punctuation.definition.camlp4-stream.ocaml - end: (?=>]) - patterns: + end: "(?=>])" + patterns: - include: "#camlpppp-streams" - name: punctuation.definition.camlp4-stream.ocaml - match: \[<|>] + match: "\\[<|>]" - name: keyword.other.camlp4.ocaml - match: \bparser\b|<(<|:)|>>|\$(:|\${0,1}) -foldingStopMarker: (\bEND\b) + match: "\\bparser\\b|<(<|:)|>>|\\$(:|\\${0,1})" +foldingStopMarker: "(\\bEND\\b)"