Skip to content
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

Anyone having luck with the json grammar? #715

Open
shipmints opened this issue Aug 20, 2024 · 5 comments
Open

Anyone having luck with the json grammar? #715

shipmints opened this issue Aug 20, 2024 · 5 comments
Labels
question Further information is requested

Comments

@shipmints
Copy link

Not working for me. No indentation, for example. The bare Emacs json mode works fine, in contrast.

@jcs090218
Copy link
Member

Do you only have an issue with JSON files? Can you provide more information on what needs to be fixed? 🤔 It's working fine on my machine.

@jcs090218 jcs090218 added the question Further information is requested label Aug 20, 2024
@shipmints
Copy link
Author

Only json files with treesitter, so far. C++, Python work fine. Perhaps you could share your json-ts-mode set up and I'll see if this is user error.

@jcs090218
Copy link
Member

This package is the external tree-sitter.el, and not the built-in treesit.el. 🤔 Are you sure you are using this package?

@shipmints
Copy link
Author

Hmm. I am on vanilla treesit. These grammars are working for me, though. Is this a spotty expectation? I'll have to hunt for another nicely packaged set of version-controlled treesitter grammars if these aren't universal.

@shipmints
Copy link
Author

Still would be nice to know if the grammars are universal. The treesitter API seems universal, even if the Emacs wrapper isn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants