summaryrefslogtreecommitdiff
path: root/lisp/progmodes/json-ts-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/json-ts-mode.el')
-rw-r--r--lisp/progmodes/json-ts-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/json-ts-mode.el b/lisp/progmodes/json-ts-mode.el
index 7e0dd179114..c03ff851504 100644
--- a/lisp/progmodes/json-ts-mode.el
+++ b/lisp/progmodes/json-ts-mode.el
@@ -115,7 +115,7 @@ the subtrees."
"Return Imenu alist for the current buffer."
(let* ((node (treesit-buffer-root-node))
(tree (treesit-induce-sparse-tree
- node "pair")))
+ node "pair" nil 1000)))
(json-ts-mode--imenu-1 tree)))
;;;###autoload