helix/runtime/queries/codeql/textobjects.scm

17 lines
500 B
Scheme
Raw Normal View History

2025-01-10 08:03:04 -07:00
(qldoc) @comment.around
(block_comment) @comment.around
(line_comment) @comment.inside
(line_comment)+ @comment.around
(classlessPredicate
((varDecl) @parameter.inside . ","?) @parameter.around
(body "{" (_)* @function.inside "}")) @function.around
(memberPredicate
((varDecl) @parameter.inside . ","?) @parameter.around
(body "{" (_)* @function.inside "}")) @function.around
(dataclass
("{" (_)* @class.inside "}")?) @class.around
(datatype) @class.around
(datatypeBranch) @class.around