A tree-sitter grammar and highlighting queries for CSV.

status ongoing
start date

Most popular editors have been adopting tree-sitter to get fast, incremental and fault-tolerant highlighting as well as structural navigation.

This project simply provides the rules for dealing with CSV files, compliant with RFC 4180 with some extras to distinguish between value types (string, integer, float, hex, boolean) as well as two keywords: NA and NULL.