feat(queries): add tags and folds

This commit is contained in:
2024-12-15 17:05:56 +02:00
parent 9a923cded1
commit 7c5ea5ae6a
7 changed files with 25 additions and 5 deletions

View File

@@ -20,8 +20,8 @@ def __getattr__(name):
return _get_query("INJECTIONS_QUERY", "injections.scm")
# if name == "LOCALS_QUERY":
# return _get_query("LOCALS_QUERY", "locals.scm")
# if name == "TAGS_QUERY":
# return _get_query("TAGS_QUERY", "tags.scm")
if name == "TAGS_QUERY":
return _get_query("TAGS_QUERY", "tags.scm")
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

View File

@@ -5,6 +5,6 @@ from typing import Final
HIGHLIGHTS_QUERY: Final[str]
INJECTIONS_QUERY: Final[str]
# LOCALS_QUERY: Final[str]
# TAGS_QUERY: Final[str]
TAGS_QUERY: Final[str]
def language() -> object: ...