Open LazerJesus opened 1 year ago
I got this far but i still cant run it.
(tree-sitter-hl-mode) results in: tree-sitter--setup: No language registered for major mode ‘emacs-lisp-mode’
(tree-sitter-hl-mode)
tree-sitter--setup: No language registered for major mode ‘emacs-lisp-mode’
(use-package tree-sitter :straight t :hook ((emacs-lisp-mode . tree-sitter-mode) (emacs-lisp-mode . tree-sitter-hl-mode))) (use-package tree-sitter-langs :straight t :after tree-sitter) (use-package tree-sitter-elisp :straight (tree-sitter-elisp :host github :repo "Wilfred/tree-sitter-elisp" :files ("*.el" "*.c" "*.so" "*.dylib" "*.dll")) :after (tree-sitter tree-sitter-langs) :config (add-to-list 'tree-sitter-major-mode-language-alist '(emacs-lisp-mode . emacs-lisp)) (add-hook 'emacs-lisp-mode-hook #'tree-sitter-mode) (add-hook 'emacs-lisp-mode-hook #'tree-sitter-hl-mode))
Did you figure out how?
nope sorry @nvimtor but i guess, since this feature is under active development from the core team, some changes are to be expected.
I got this far but i still cant run it.
(tree-sitter-hl-mode)
results in:tree-sitter--setup: No language registered for major mode ‘emacs-lisp-mode’