1// Compiled-in tree-sitter highlight queries.
2//
3// The text lives in src/queries.generated.c, generated from vendor/queries by
4// tools/gen_queries.py. Keeping them in the binary avoids any runtime lookup
5// path.
6
7#ifndef TINY_QUERIES_H
8#define TINY_QUERIES_H
9
10#include <stddef.h>
11#include <string.h>
12
13typedef struct {
14 const char *lang;
15 const char *text;
16} tiny_query;
17
18// Returns the highlights query for `lang`, or NULL when none is compiled in.
19const char *tiny_query_for(const char *lang);
20
21#endif