Sha256: 3ee0502e662540b5ec92cdf435d719531e2961798816052a54d09993f0d00ed8

Contents?: true

Size: 1.69 KB

Versions: 139

Compression:

Stored size: 1.69 KB

Contents

--- 
name: CSV
fileTypes: 
- csv
scopeName: text.tabular.csv
repository: 
  row: 
    name: meta.tabular.row.csv
    begin: ^(?!$)
    end: $
    patterns: 
    - include: "#field"
  field: 
    patterns: 
    - endCaptures: 
        "1": 
          name: punctuation.definition.field.csv
        "3": 
          name: punctuation.separator.tabular.field.csv
      begin: (^|(?<=,))(")
      contentName: meta.tabular.field.quoted.csv
      beginCaptures: 
        "2": 
          name: punctuation.definition.field.csv
      end: (")($|(,))
      patterns: 
      - name: constant.character.escape.straight-quote.csv
        match: "\"\""
      comment: "\n\
        \t\t\t\t\t\tthis field uses \"s and is thus able to enclose\n\
        \t\t\t\t\t\tnewlines or commas\n\
        \t\t\t\t\t"
    - endCaptures: 
        "1": 
          name: punctuation.separator.tabular.field.csv
      begin: (:^|(?<=,))(?!$|,)
      contentName: meta.tabular.field.csv
      end: $|(,)
    - name: punctuation.separator.tabular.field.csv
      match: ","
  header: 
    name: meta.tabular.row.header.csv
    begin: ^(?!$)
    end: $
    patterns: 
    - include: "#field"
  table: 
    name: meta.tabular.table.csv
    begin: ^
    end: ^$not possible$^
    patterns: 
    - include: "#header"
    - begin: (\n)
      beginCaptures: 
        "1": 
          name: punctuation.separator.table.row.csv
      end: ^$not possible$^
      patterns: 
      - include: "#row"
      - name: punctuation.separator.table.row.csv
        match: \n
      comment: "\n\
        \t\t\t\t\t\teverything after the first row is not a header\n\
        \t\t\t\t\t"
uuid: B0691F9F-D279-48CB-8959-2C9426579002
patterns: 
- include: "#table"
keyEquivalent: ^~C

Version data entries

139 entries across 134 versions & 19 rubygems

Version Path
textpow1x-1.1.0 lib/textpow/syntax/csv.syntax
uv-0.0.7.5 syntax/csv.syntax
uv-0.0.7.4 syntax/csv.syntax
uv-0.0.7.3 syntax/csv.syntax
uv-0.0.7.2 syntax/csv.syntax
uv-0.0.7.1 syntax/csv.syntax
uv-0.0.7.0 syntax/csv.syntax
textpow1x-1.0.0 lib/textpow/syntax/csv.syntax
ultraviolet1x-0.12.2 syntax/csv.syntax
uv-0.0.6.5 syntax/csv.syntax
ruby-uv-0.0.6.4 syntax/csv.syntax
ruby-uv-0.0.6.3 syntax/csv.syntax
ruby-uv-0.0.6.2 syntax/csv.syntax
ruby-uv-0.0.6.1 syntax/csv.syntax
ruby-uv-0.0.6 syntax/csv.syntax
ultraviolet1x-0.12.1 syntax/csv.syntax
ultra_pow_list-0.1.1 lib/ultra_pow_list/vendor/ruby1.9/uv/syntax/csv.syntax
ultra_pow_list-0.1.1 lib/ultra_pow_list/vendor/ruby1.8/uv/syntax/csv.syntax
ultra_pow_list-0.1.0 lib/ultra_pow_list/vendor/ruby1.8/uv/syntax/csv.syntax
ultra_pow_list-0.1.0 lib/ultra_pow_list/vendor/ruby1.9/uv/syntax/csv.syntax