Skip to content

Commit

Permalink
👽 Update Query API of tree-sitter
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Mar 14, 2024
1 parent 45435cf commit 20d6895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/lsp_tree_sitter/finders.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
Range,
TextEdit,
)
from tree_sitter import Node, Tree
from tree_sitter.binding import Query
from tree_sitter import Node, Query, Tree

from . import UNI, Finder
from .schema import Trie
Expand Down
2 changes: 1 addition & 1 deletion template/src/{{ module }}/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os
from typing import Any

from tree_sitter.binding import Query
from tree_sitter import Query

from . import FILETYPE

Expand Down

0 comments on commit 20d6895

Please sign in to comment.