tree-sitter-langs icon indicating copy to clipboard operation
tree-sitter-langs copied to clipboard

Supporting jsonian mode

Open tareefdev opened this issue 3 years ago • 2 comments

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?

tareefdev avatar Nov 28 '22 15:11 tareefdev

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.

meain avatar Nov 28 '22 16:11 meain

Thanks!

tareefdev avatar Nov 28 '22 16:11 tareefdev