We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da38a23 commit 3f64736Copy full SHA for 3f64736
lisp/tree-sitter-query.el
@@ -95,7 +95,8 @@ The buffer on focus when the command is called is set as the target buffer."
95
(with-current-buffer target-buffer
96
(unless tree-sitter-mode
97
(tree-sitter-mode))
98
- (add-hook 'after-change-functions 'tree-sitter-query--after-change nil :local)
+ ;; TODO: The query should be run against the changed range only.
99
+ (add-hook 'tree-sitter-after-change-functions 'tree-sitter-query--after-change nil :local)
100
(setq tree-sitter-query--target-buffer target-buffer))
101
(unless builder-window-is-visible
102
(unless (display-buffer-in-side-window
0 commit comments