-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Language is either not supported or WIP... c++mode #2
Comments
Make sure you have |
Ah my bad, I had indeed misconfigured tree-sitter. I think it's setup correctly now, at least syntax highlighting works with it. I'm not sure if I'm using this package correctly though. Let me try to explain what I'm doing. I created a test file with the following content: If I insert a new line above line 1 and type If I then place the cursor on line 7 (above I noticed that the syntax highlighting is wrong after the first invocation of Notice how the syntax highlighting of that second comment is wrong again. I observe the same behaviour when I try with Any pointers on how to fix this behaviour are much appreciated! |
Yeah, I have the same experience and I suspect the issue is from the upstream Emacs devel is working on built-in tree-sitter, so I'm not quite sure the route of all |
Mhh. I don't use many packages that directly edit the buffer, but I agree that it could well be a problem with upstream |
I think I have the same issue on python. After |
We might need to refresh the AST or font-lock highlighting after the insertion. |
Thanks for the library. I face the same issue for python mode |
This package looks very promising. When I try
ts-docstr-at-point
I get the errorLanguage is either not supported or WIP... c++mode
.I load
tree-sitter
andts-docstr
as follows:I then visit a
cpp
file and callM-x ts-docstr-at-point
on a function.Am I doing this wrong?
The text was updated successfully, but these errors were encountered: