emacs-tree-sitter / elisp-tree-sitter

Emacs Lisp bindings for tree-sitter
https://emacs-tree-sitter.github.io
MIT License
816 stars 73 forks source link

Enable playground for grammar development #218

Open IJOY94 opened 2 years ago

IJOY94 commented 2 years ago

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 to highlight the syntax as he's moving through the file. I would like to be able to do the same, and am wondering what it would take to have the equivalent in Emacs.

sogaiu commented 2 years ago

I think tree-sitter-debug-mode's functionality has some overlap.

Possibly of interest: https://github.com/emacs-tree-sitter/elisp-tree-sitter/issues/115

innerout commented 2 years ago

The only feature missing from tree-sitter-debug-mode is the highlighting of the respective code in the file buffer.