elisp-tree-sitter icon indicating copy to clipboard operation
elisp-tree-sitter copied to clipboard

Emacs Lisp bindings for tree-sitter

Results 79 elisp-tree-sitter issues
Sort by recently updated
recently updated
newest added

Also see the recently added feature branch at https://github.com/emacs-mirror/emacs/commits/feature/tree-sitter. It would be awesome if that work incorporated https://github.com/emacs-tree-sitter/elisp-tree-sitter.

There appears to be difference between only enabling `tree-sitter-hl-mode` or enabling `tree-sitter-mode` and then `tree-sitter-hl-mode` from the init file. ``` (add-hook 'c++-mode-hook (lambda() ;; setup packages: ;;(tree-sitter-mode t) (tree-sitter-hl-mode t)...

Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.6. Changelog Sourced from regex's changelog. 1.5.6 (2022-05-20) This release includes a few bug fixes, including a bug that produced incorrect matches when a non-greedy...

dependencies

This work appears to be directly on the emacs repository now. Updating the link to point to that.

This PR will make it possible for users to build TS grammars locally with no external CLI dependencies, which is a big win for making that an accessible option for...

TL;DR: Macros break highlighting. How can I make `tree-sitter-hl` ignore (some of) them? Does not necessarily have to be fancy, can be as simple as a user-set regex or list....

When i try to enable: tree-sitter-load: Language load failed: "dlopen(/Users/otavio/.emacs.d/.local/straight/build-27.2/tree-sitter-langs/bin/ruby.dylib, 0x0005): tried: '/Users/otavio/.emacs.d/.local/straight/build-27.2/tree-sitter-langs/bin/ruby.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/ruby.dylib' (no such file), '/usr/lib/ruby.dylib' (no...

Hi. When I open a 3.5M JSON file using `json-mode` (not the built-in `javascript-mode`) with `global-tree-sitter-mode` and `tree-sitter-hl-mode` are on, emacs takes about 20s to finish. With both modes are...

bug

I've asked @protesilaos to [add `tree-sitter` support](https://gitlab.com/protesilaos/modus-themes/-/issues/303) to his `modus-themes`. In the discussion below, he mentioned that: > My intent was to reduce the overall colouration produced by the default...