Skip to content
Discussion options

You must be logged in to vote

I don't think there is a runtime/config switch for this right now.

The built-in csv language is wired to the rainbow-csv-tree-sitter grammar in languages.toml, and Helix's current CSV highlight query treats all three of these as delimiters:

[
  ";"
  ","
  "|"
] @punctuation.delimiter

So languages.toml can enable/disable the language or point it at a different grammar, but it does not expose a CSV delimiter setting like delimiter = ";".

If you only wanted to change the punctuation highlighting, you could override runtime/queries/csv/highlights.scm in your runtime directory and remove "," and "|". But for your actual case, where commas inside values should not affect the column coloring, t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ReLoneR1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants