Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to tree-sitter-languages-freed-wu-pr: expand language support #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion grep_ast/grep_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import re

from tree_sitter_languages import get_parser
from tree_sitter_languages_freed_wu_pr import get_parser

from .dump import dump # noqa: F401
from .parsers import filename_to_lang
Expand Down
1 change: 1 addition & 0 deletions grep_ast/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
".cl": "commonlisp",
".cpp": "cpp",
".css": "css",
".d": "d",
# ".dart": "dart", # py-tree-sitter-languages does not support Dart
".dockerfile": "dockerfile",
".dot": "dot",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
tree-sitter-languages>=1.8.0
tree-sitter-languages-freed-wu-pr>=1.11.0
pathspec