-
Notifications
You must be signed in to change notification settings - Fork 31
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
Treesitter mode support #100
Comments
From: Ross Timson ***@***.***>
Date: Sun, 10 Mar 2024 12:07:20 -0700
Thank you for your Emacs packages, I use few of them.
You are welcome!
Not sure if directly related to the theme or not but when I've
switched to using Treesitter modes I lose most of the syntax
colouring.
Are you using the built-in tree-sitter implementation of Emacs 29? My
understanding is that the major-mode should implement the face mapping.
All the new faces for tree-sitter are designed to inherit from existing
ones, so you should be getting colours there.
…--
Protesilaos Stavrou
https://protesilaos.com
|
Sorry, I should've said, I'm on Emacs 29.2. Yeah, it's just the built in
I've just tried running python-mode
python-ts-mode
So to my uneducated eyes this looks like it may be an issue with Hope this helps. |
From: Ross Timson ***@***.***>
Date: Mon, 11 Mar 2024 14:41:44 -0700
[... 50 lines elided]
So to my uneducated eyes this looks like it may be an issue with
`python-ts-mode` rather than the theme. I should've worked out how to
show this before submitting the issue.
Indeed, this is an issue with the major mode. Notice how the first
describe-char tells you that the character has a face associated with
it. This means that the major mode has the necessary setup to style
those accordingly. Whereas the tree-sitter mode does not have any face
there.
Have you ever tried M-x report-emacs-bug? It lets you prepare an email
and send it to the Emacs maintainers. Even if you do not have email set
up in Emacs, you can copy that buffer into your email client and take it
from there.
If you do send a bug report, you are welcome to include me in CC. Use my
email ***@***.***>.
Hope this helps.
Yes, it does. Thank you for taking the time to do it!
…--
Protesilaos Stavrou
https://protesilaos.com
|
Thanks, I'll look into doing that over the next couple days. |
Thank you for your Emacs packages, I use few of them.
Not sure if directly related to the theme or not but when I've switched to using Treesitter modes I lose most of the syntax colouring.
python-mode
python-ts-mode
The text was updated successfully, but these errors were encountered: