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

Supporting jsonian mode #138

Open
tareefdev opened this issue Nov 28, 2022 · 2 comments
Open

Supporting jsonian mode #138

tareefdev opened this issue Nov 28, 2022 · 2 comments

Comments

@tareefdev
Copy link

tareefdev commented Nov 28, 2022

A new major mode for editing JSON files has been released recently. Trying to enable tree-sitter-hl-mode there results in an error message:

tree-sitter--setup: No language registered for major mode ‘jsonian-mode’

Is it a matter of setting up some variable to support this mode? Or should some work be done on this repository?

@meain
Copy link
Member

meain commented Nov 28, 2022

If you just want to get it working in your setup, you can do something like (push '(jsonian-mode . json) tree-sitter-major-mode-language-alist), but we can probably add the mapping in this repo if it is popular enough.

@tareefdev
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants