mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
feat: add CSV, PSV, & TSV
This commit is contained in:
parent
977e932726
commit
17d3398b5b
7 changed files with 54 additions and 5 deletions
|
|
@ -54,11 +54,11 @@
|
|||
(#eq? @_type "math"))
|
||||
|
||||
; TODO: re-add when a parser for csv is added.
|
||||
; ((directive
|
||||
; name: (type) @_type
|
||||
; body: (body (content) @injection.content))
|
||||
; (#set! injection.language "csv")
|
||||
; (#eq? @_type "csv-table"))
|
||||
((directive
|
||||
name: (type) @_type
|
||||
body: (body (content) @injection.content))
|
||||
(#set! injection.language "csv")
|
||||
(#eq? @_type "csv-table"))
|
||||
|
||||
;; Special roles - prefix
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue