elisp-tree-sitter
elisp-tree-sitter copied to clipboard
Emacs Lisp bindings for tree-sitter
The code below (Javascript) doesn’t get highlighted properly. We should have all `stringN` be highlighted with string color, but only `string1` and `string4` are. ```js const a = `string1 ${var1...
Ran into an interesting issue. When using evil mode's smart-case search/replace, buffer content's are "corrupted"/out of date if tree-sitter highlighting is enabled. Here is reproducible example (tested on emacs 28...
Whenever I `M-x tree-sitter-query-builder` I have the following error: ``` hs-grok-mode-type: tsc-query-builder Mode doesn’t support Hideshow Minor Mode ``` I tried adding a hook: ```elisp (use-package tree-sitter-mode :hook (tuareg-mode ....
Hi - two faces have `:inherit default` which causes them to render badly if the background is other than the default. - `tree-sitter-hl-face:embedded` - `tree-sitter-hl-face:punctuation` E.g. in `org-mode` source blocks,...
Hello i know maybe this need a lot of work to support but it will improve the experience if you want you could highlight me on resources to implement this...
In `js-mode` in a file with `jsx`, this is how the highlighting appears when manually activating `tree-sitter-hl-mode`: ![image](https://user-images.githubusercontent.com/42984254/115914729-56706200-a440-11eb-824a-f82f011cf1e6.png) And this is how it appears when using the hook from the...
The original issue is from #93. It will be great if this feature is supported!
This isn't an issue with existing modes, since they typically already include font-lock highlighting, but while writing my own mode backed by tree-sitter, I found that it was necessary to...
Add new, customizable, variable `tree-sitter-mode-lighter`. It lets the user to customize `tree-sitter-mode` lighter in `mode-line` and disable it by setting it to an empty string. This is very useful for...
I'm in the process of developing a grammar for free-format RPGLE with my friend. He primarily uses Neovim, and has been using [this package](https://github.com/nvim-treesitter/playground) to highlight the syntax as he's...