-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Utilizing tree-sitter #344
Comments
What would be the benefit?
Also, I use Aquamacs which is still based on EMACS 25
…On Sat, Dec 3, 2022 at 2:41 PM josephmturner ***@***.***> wrote:
With tree-sit.el merged into Emacs 29, have you considered using a
tree-sitter grammar in ledger-mode?
A little searching revealed https://github.com/cbarrete/tree-sitter-ledger
.
—
Reply to this email directly, view it on GitHub
<#344>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGWWLDRNFNGN7X5ZDBFQH3WLO5BHANCNFSM6AAAAAASS6QOGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Craig, Corona De Tucson, AZ
[image: missile_flyout]
enderw88.wordpress.com
|
@enderw88 Possibly better syntax highlighting while editing? I'm not sure it would offer much benefit, I was just curious after I discovered the project I linked to above. |
Some uses for tree-sitter elaborated in this talk from Emacsconf 2022 might be applicable to ledger:
|
@enderw88 Users of older Emacsen might be able to take advantage of code like this through third-party libraries like https://emacs-tree-sitter.github.io/ |
Would this make completion easier? |
It's hard to maintain a major mode that uses tree-sitter only if enabled and in the latest Emacs and if the grammar is installed, and tree-sitter really can't be made to work usefully in older Emacs versions. So I wouldn't recommend we adopt it here. Better would be for someone to first make a separate In general I'm bullish about tree-sitter, but it's a currently a rocky time working with it in the Emacs world as most users don't have (or necessarily need) it. |
With tree-sit.el merged into Emacs 29, have you considered using a tree-sitter grammar in ledger-mode?
A little searching revealed https://github.com/cbarrete/tree-sitter-ledger.
The text was updated successfully, but these errors were encountered: