|
by default its everything. I would like to change it to be specifically how can i do it in runtime / config? my use case is csv columns separated by |
Replies: 1 comment
|
I don't think there is a runtime/config switch for this right now. The built-in [
";"
","
"|"
] @punctuation.delimiterSo If you only wanted to change the punctuation highlighting, you could override |
I don't think there is a runtime/config switch for this right now.
The built-in
csvlanguage is wired to therainbow-csv-tree-sittergrammar inlanguages.toml, and Helix's current CSV highlight query treats all three of these as delimiters:So
languages.tomlcan enable/disable the language or point it at a different grammar, but it does not expose a CSV delimiter setting likedelimiter = ";".If you only wanted to change the punctuation highlighting, you could override
runtime/queries/csv/highlights.scmin your runtime directory and remove","and"|". But for your actual case, where commas inside values should not affect the column coloring, t…