mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat: add Intel Implicit SPMD Program Compiler (ISPC)
* Add ISPC parser config * Add ISPC queries * Update queries/ispc/injections.scm Co-authored-by: Amaan Qureshi <amaanq12@gmail.com> --------- Co-authored-by: Fabian Wermelinger <fab4100@posteo.net> Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
parent
8e59b4919d
commit
8e817bebf9
6 changed files with 267 additions and 0 deletions
7
queries/ispc/indents.scm
Normal file
7
queries/ispc/indents.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
; inherits: c
|
||||
|
||||
((foreach_statement body: (_) @_body) @indent.begin
|
||||
(#not-has-type? @_body compound_statement))
|
||||
|
||||
((foreach_instance_statement body: (_) @_body) @indent.begin
|
||||
(#not-has-type? @_body compound_statement))
|
||||
Loading…
Add table
Add a link
Reference in a new issue