Sha256: bf942f8dc893e9bbecd977192d4560ebca96056e4a3f1e4ebb14c6a5e05d1816

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

--- 
name: C
fileTypes: 
- c
- h
scopeName: source.c
uuid: 1BA75B32-707C-11D9-A928-000D93589AF6
foldingStartMarker: "(?x)\n\
  \t\t /\\*\\*(?!\\*)\n\
  \t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\
  \t"
patterns: 
- name: comment.block.c
  captures: 
    "0": 
      name: punctuation.definition.comment.c
  begin: /\*
  end: \*/
- name: comment.line.double-slash.c
  captures: 
    "1": 
      name: punctuation.definition.comment.c
  match: (//).*$\n?
- name: keyword.control.c
  match: \b(abstract|as|base|break|case|catch|checked|const|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|goto|if|implicit|in|internal|is|lock|namespace|new|null|operator|out|override|params|private|protected|public|readonly|ref|return|sealed|sizeof|stackalloc|static|switch|this|throw|true|try|typeof|unckecked|unsafe|using|virtual|volatile|void|while)\b
- name: storage.type.c
  match: \b(bool|byte|char|class|decimal|double|enum|float|int|nterface|long|object|sbyte|short|string|struct|uint|ulong|ushort)\b
- name: constant.numeric.c
  match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b
- name: string.quoted.double.c
  endCaptures: 
    "0": 
      name: punctuation.definition.string.end.c
  begin: "\""
  beginCaptures: 
    "0": 
      name: punctuation.definition.string.begin.c
  end: "\""
  patterns: 
  - name: constant.character.escape.c#
    match: \\.
- name: string.quoted.single.c#
  endCaptures: 
    "0": 
      name: punctuation.definition.string.end.c
  begin: "'"
  beginCaptures: 
    "0": 
      name: punctuation.definition.string.begin.c
  end: "'"
  patterns: 
  - name: constant.character.escape.c
    match: \\.
- name: meta.preprocessor.c
  captures: 
    "2": 
      name: keyword.control.import.c
  match: ^(#)\s*(if|else|elif|endif|define|undef|warning|error|line|region|endregion)\b
foldingStopMarker: (?<!\*)\*\*/|^\s*\}
keyEquivalent: ^~C

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code_rippa-0.0.7 lib/code_rippa/syntax/c.syntax
code_rippa-0.0.6 lib/code_rippa/syntax/c.syntax