1
0
Fork 0
mirror of https://github.com/pnx/tree-sitter-dotenv synced 2026-06-16 01:54:56 +02:00

bindings: python: include highlights queries

This commit is contained in:
Henrik Hautakoski 2024-12-12 22:15:24 +01:00
parent 56e2f4e02b
commit 0c2b73e65d
2 changed files with 4 additions and 7 deletions

View file

@ -12,10 +12,9 @@ def _get_query(name, file):
def __getattr__(name): def __getattr__(name):
# NOTE: uncomment these to include any queries that this grammar contains:
# if name == "HIGHLIGHTS_QUERY": if name == "HIGHLIGHTS_QUERY":
# return _get_query("HIGHLIGHTS_QUERY", "highlights.scm") return _get_query("HIGHLIGHTS_QUERY", "highlights.scm")
# if name == "INJECTIONS_QUERY": # if name == "INJECTIONS_QUERY":
# return _get_query("INJECTIONS_QUERY", "injections.scm") # return _get_query("INJECTIONS_QUERY", "injections.scm")
# if name == "LOCALS_QUERY": # if name == "LOCALS_QUERY":
@ -28,7 +27,7 @@ def __getattr__(name):
__all__ = [ __all__ = [
"language", "language",
# "HIGHLIGHTS_QUERY", "HIGHLIGHTS_QUERY",
# "INJECTIONS_QUERY", # "INJECTIONS_QUERY",
# "LOCALS_QUERY", # "LOCALS_QUERY",
# "TAGS_QUERY", # "TAGS_QUERY",

View file

@ -1,8 +1,6 @@
from typing import Final from typing import Final
# NOTE: uncomment these to include any queries that this grammar contains: HIGHLIGHTS_QUERY: Final[str]
# HIGHLIGHTS_QUERY: Final[str]
# INJECTIONS_QUERY: Final[str] # INJECTIONS_QUERY: Final[str]
# LOCALS_QUERY: Final[str] # LOCALS_QUERY: Final[str]
# TAGS_QUERY: Final[str] # TAGS_QUERY: Final[str]