dmille56 / treesit-jump Goto Github PK
View Code? Open in Web Editor NEWJump around your source code in emacs using treesit and avy
License: Apache License 2.0
Jump around your source code in emacs using treesit and avy
License: Apache License 2.0
Error (use-package): treesit-jump/:catch: Symbol’s function definition is void: transient-prefix
I am getting this when the package is initialized . I am using this config
(use-package treesit-jump
:straight (:host github :repo "dmille56/treesit-jump" :files ("*.el" "treesit-queries"))
:config
;; Optional: add some queries to filter out of results (since they can be too cluttered sometimes)
(setq treesit-jump-queries-filter-list '("inner" "test" "param")))
on windows and ubuntu and get the same error. I am using emacs 29.2
with treesit-transient-jump, only command that is working for me is 'parent jump'. Other commands give me the error "Wrong type argument".
Hi, thanks for the awesome package!
Right now, treesit-jump initialization runs into an error if a mode is not defined. In my case, zig-mode
is not a symbol and at startup emacs throws the following error. This happens in line 126 of treesit-jump.el.
Debugger entered--Lisp error: (void-function \(setf\ map-elt\))
\(setf\ map-elt\)("zig" nil zig-mode)
byte-code("\306\307\310\311#\210\306\307\312\313#\210\306\307\314\315\316\307\"#\210\306\307\317\320\321\322\323\324D\321\325\326\327\323\330\316\331\257\6E\321\325\326\332\323\333\316\334\257\6E\321\325\326\335\323\336\316\337\257\6E\321\325\326\340\323\341\316\342\257\6E\321\325\326\343\323\344\316\345\257\6E\257\5$C#\210\346\347\350\351\352\353%\210\354\355\350\356\357\360\352\347&\7\210\354\361\350\362\352\347\357\363&\7\210\354\364\365\366\357\367\352\347&\7\210\354\370\371\372\357\367\352\347&\7\210\354\373\350\374\352\347\357\375&\7\210\354\376\350\377\352\347\357\201B\0&\7\210\201C\0\201D\0!\30\10\203\332\0\10@\211\31\242\32\11\243\33\n\13\34\35\16>\36@\15\36A\201E\0\f\16@\16A#.\6\210\10A\20)\202\257\0)\350\207" [tail x0 x1 x2 lang-symbol major-mode put treesit-jump-transient interactive-only t function-documentation "Transient for using treesit-jump." transient--prefix transient-prefix :command transient--layout vector 1 transient-column :description "Treesit-Jump" transient-suffix :key "j" "jump" treesit-jump-jump "s" "select" treesit-jump-select "d" "delete" treesit-jump-delete "p" "parent jump" treesit-jump-parent-jump "c" "clear cache" treesit-jump-queries-clear-cache custom-declare-group treesit-jump nil "Customize group for treesit-jump.el." :group emacs custom-declare-variable treesit-jump-queries-filter-list ("/home/ben/.config/emacs/elpa/treesit-jump/treesit-jump.elc" . 323) :type (repeat string) treesit-jump-queries-filter-mode-alist ...] 20)
require(treesit-jump nil t)
(not (require 'treesit-jump nil t))
(if (not (require 'treesit-jump nil t)) (display-warning 'use-package (format "Cannot load %s" 'treesit-jump) :error) (condition-case err (progn (evil-define-key 'motion 'global "g+" 'treesit-jump-transient) t) ((debug error) (funcall use-package--warning37 :config err))))
(lambda nil (if (not (require 'treesit-jump nil t)) (display-warning 'use-package (format "Cannot load %s" 'treesit-jump) :error) (condition-case err (progn (evil-define-key 'motion 'global "g+" 'treesit-jump-transient) t) ((debug error) (funcall use-package--warning37 :config err)))))()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.