mirror of
https://github.com/pnx/tree-sitter-dotenv
synced 2026-06-16 14:04:57 +02:00
bindings: python: include highlights queries
This commit is contained in:
parent
56e2f4e02b
commit
0c2b73e65d
2 changed files with 4 additions and 7 deletions
7
bindings/python/tree_sitter_dotenv/__init__.py
generated
7
bindings/python/tree_sitter_dotenv/__init__.py
generated
|
|
@ -12,10 +12,9 @@ def _get_query(name, file):
|
|||
|
||||
|
||||
def __getattr__(name):
|
||||
# NOTE: uncomment these to include any queries that this grammar contains:
|
||||
|
||||
# if name == "HIGHLIGHTS_QUERY":
|
||||
# return _get_query("HIGHLIGHTS_QUERY", "highlights.scm")
|
||||
if name == "HIGHLIGHTS_QUERY":
|
||||
return _get_query("HIGHLIGHTS_QUERY", "highlights.scm")
|
||||
# if name == "INJECTIONS_QUERY":
|
||||
# return _get_query("INJECTIONS_QUERY", "injections.scm")
|
||||
# if name == "LOCALS_QUERY":
|
||||
|
|
@ -28,7 +27,7 @@ def __getattr__(name):
|
|||
|
||||
__all__ = [
|
||||
"language",
|
||||
# "HIGHLIGHTS_QUERY",
|
||||
"HIGHLIGHTS_QUERY",
|
||||
# "INJECTIONS_QUERY",
|
||||
# "LOCALS_QUERY",
|
||||
# "TAGS_QUERY",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue