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
textpow-1.4.0 lib/textpow/syntax/text.tabular.csv.syntax
spox-ultraviolet-0.10.3 syntax/csv.syntax
spox-ultraviolet-0.10.4 syntax/csv.syntax
vertiginous-ultraviolet-0.10.2 syntax/csv.syntax
vertiginous-ultraviolet-0.10.3 syntax/csv.syntax
textpow-1.3.1 lib/textpow/syntax/text.tabular.csv.syntax
textpow-1.3.0 lib/textpow/syntax/text.tabular.csv.syntax
textpow1x-1.2.5 lib/textpow/syntax/text.tabular.csv.syntax
rmthemegen-0.0.47 vendor/ultraviolet-0.10.2/syntax/csv.syntax
code_rippa-0.0.7 lib/code_rippa/syntax/csv.syntax
code_rippa-0.0.6 lib/code_rippa/syntax/csv.syntax
code_rippa-0.0.5 lib/code_rippa/syntax/csv.syntax
code_rippa-0.0.4 lib/code_rippa/syntax/csv.syntax
code_rippa-0.0.3 lib/code_rippa/syntax/csv.syntax
code_rippa-0.0.1 lib/code_rippa/syntax/csv.syntax
textpow1x-1.2.4 lib/textpow/syntax/text.tabular.csv.syntax
textpow1x-1.2.3 lib/textpow/syntax/text.tabular.csv.syntax
textpow1x-1.2.2 lib/textpow/syntax/text.tabular.csv.syntax
textpow1x-1.2.1 lib/textpow/syntax/text.tabular.csv.syntax
textpow1x-1.2.0 lib/textpow/syntax/text.tabular.csv.syntax