mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat(parsers): add bpftrace (#8399)
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
This commit is contained in:
parent
6feaebb456
commit
9177f2ff06
4 changed files with 249 additions and 0 deletions
12
runtime/queries/bpftrace/injections.scm
Normal file
12
runtime/queries/bpftrace/injections.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
([
|
||||
(c_struct)
|
||||
(c_preproc)
|
||||
(c_preproc_block)
|
||||
] @injection.content
|
||||
(#set! injection.language "c"))
|
||||
|
||||
([
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue