Skip to content

Instantly share code, notes, and snippets.



Created Jun 28, 2017
What would you like to do?
syntax match csvHead /^/ nextgroup=csvOddColumn
syntax match csvOddColumn /[^,]*/ contained nextgroup=csvOddComma
syntax match csvOddComma /,/ contained nextgroup=csvEvenColumn
syntax match csvEvenColumn /[^,]*/ contained nextgroup=csvEvenComma
syntax match csvEvenComma /,/ contained nextgroup=csvOddColumn
highlight default link csvOddColumn Constant
highlight default link csvEvenColumn Statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment