Git Product home page Git Product logo

treesit-jump's People

Contributors

dmille56 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

treesit-jump's Issues

treesit-jump/:catch: Symbol’s function definition is void: transient-prefix

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

treesit-jump initialization error with undefined mode

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)))))()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.