Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ Note: support for specific languages is strictly community maintained and can br
- [x] `yaml`
- [x] `yang`
- [x] `zig`
- [x] `csv`
- [x] `tsv`

</details>

Expand Down Expand Up @@ -140,7 +142,6 @@ Note: support for specific languages is strictly community maintained and can br
- [ ] `cooklang`
- [ ] `corn`
- [ ] `cpon`
- [ ] `csv`
- [ ] `cylc`
- [ ] `desktop`
- [ ] `dhall`
Expand Down Expand Up @@ -332,7 +333,6 @@ Note: support for specific languages is strictly community maintained and can br
- [ ] `tlaplus`
- [ ] `tmux`
- [ ] `todotxt`
- [ ] `tsv`
- [ ] `turtle`
- [ ] `twig`
- [ ] `typespec`
Expand Down
5 changes: 5 additions & 0 deletions queries/csv/context.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(document
.
(row)
.
(row) @context.end) @context
5 changes: 5 additions & 0 deletions queries/tsv/context.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(document
.
(row)
.
(row) @context.end) @context
20 changes: 20 additions & 0 deletions test/lang/test.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name {{CONTEXT}},age,city
Alice,30,Jakarta
Bob,25,London
Charlie,35,Paris
Derin,23,Bilecik
Eve,42,Berlin
Frank,31,Sydney
Grace,27,Mumbai
Hank,33,Cairo
Ilkkan,77,Istanbul
Jack,38,Madrid
Kate,26,Seoul
Leo,34,Dublin
Mary,33,New York
Nate,23,Lima
Olivia,44,Vienna
Pete,36,Athens
Quinn,30,Lisbon
Rose,27,Zurich
Sam {{CURSOR}},41,Prague
20 changes: 20 additions & 0 deletions test/lang/test.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name {{CONTEXT}} age city
Alice 30 Jakarta
Bob 25 London
Charlie 35 Paris
Derin 23 Bilecik
Eve 42 Berlin
Frank 31 Sydney
Grace 27 Mumbai
Hank 33 Cairo
Ilkkan 77 Istanbul
Jack 38 Madrid
Kate 26 Seoul
Leo 34 Dublin
Mary 33 New York
Nate 23 Lima
Olivia 44 Vienna
Pete 36 Athens
Quinn 30 Lisbon
Rose 27 Zurich
Sam {{CURSOR}} 41 Prague
Loading