mirror of https://github.com/helix-editor/helix
Import ISPC queries from 7da3cb6323/queries/ispc
instead
These seem to have been removed from the main repo in:
0197076648
pull/8678/head
parent
0477b8b962
commit
b352f180ab
@ -0,0 +1,8 @@
|
||||
; inherits: c
|
||||
|
||||
[
|
||||
(foreach_statement)
|
||||
(foreach_instance_statement)
|
||||
(unmasked_statement)
|
||||
(template_declaration)
|
||||
] @fold
|
@ -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))
|
@ -1,3 +1 @@
|
||||
(preproc_arg) @c
|
||||
|
||||
(comment) @comment
|
||||
; inherits: c
|
||||
|
@ -0,0 +1,17 @@
|
||||
; inherits: c
|
||||
|
||||
(reference_declarator
|
||||
(identifier) @definition.var)
|
||||
|
||||
(type_parameter_declaration
|
||||
(type_identifier) @definition.type)
|
||||
(template_declaration) @scope
|
||||
|
||||
(template_function
|
||||
name: (identifier) @definition.function) @scope
|
||||
|
||||
[
|
||||
(foreach_statement)
|
||||
(foreach_instance_statement)
|
||||
(unmasked_statement)
|
||||
] @scope
|
Loading…
Reference in New Issue