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

Emacs Lisp bindings for tree-sitter

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

I’m not sure if it's a tree-sitter, elisp-tree-sitter, or tree-sitter-langs problem, but while typing new code the highlighting changes way too often. For instance consider the following Javascript code with...

enhancement
external-issue
question

I'm encountering a weird issue and I'm fairly certain it's a bug. If you create a cursor against a non-root node the cursor movement code does not work. Version: 0.15.1...

bug
external-issue

The below ruby code: ```ruby foo = 123 ``` Gives `foo` a face of `tree-sitter-hl-face:function.method` which isn't correct (it should be `variable` or similar). I poked around a bit and...

bug
help wanted

After enabling tree-sitter-hl-mode, the latency of typing and cursor movement is taking a big noticable hit. My impression before installing emacs-tree-sitter was that the latency is acutally going down. That...

more-information-needed

Is it possible to replace the printed hash notation of nodes (or trees, I guess) with something more user friendly? I'm thinking `#` or something to that effect: basically the...

enhancement
external-issue

[Polymode](https://polymode.github.io/) is a fairly popular multiple major mode framework these days. The way it works is it looks at clearly demarcated code blocks, say in a Github Flavored Markdown or...

enhancement

In emacs-tree-sitter, keywords like `if/else/for/while/return` (in C/C++/Java etc.) are all treated as `tree-sitter-hl-face:keyword`. However, in [Neovim's tree-sitter support](https://github.com/nvim-treesitter/nvim-treesitter) for instance, `return` is rendered differently to `if/else/for/while`. Implementation-wise, how hard would...

enhancement

Is it possible to reload the .so shared library for a grammar within the current emacs session? Nothing else would change besides the shared library being updated from a more...

feature request

@yyoncho [noted](https://github.com/ubolonton/emacs-tree-sitter/pull/16#discussion_r386357675) that in Emacs sometimes a mapping of major mode and language is not as straightforward as `N -> 1`, but rather `N -> N`, that is to say...

enhancement
unexplored

First of all, great package! Consider the following Python example: ```python if True: ``` And the following tree: ``` module (1 . 9) if_statement (1 . 9) true (4 ....

external-issue