atom-vue
atom-vue copied to clipboard
Not using tree sitter grammars
The current atom-vue isn't a tree-sitter grammar and doesn't use tree sitter grammars for JavaScript <script> parts either.
@dflock Thanks for the proposal. We shall work on it.
Is this why object keys changed color recently? (Maybe when Atom started using tree sitter stuff?) Right now, my object keys are all green, as if they were a string, where they used to be red.

@foundryspatial-duncan Yes, it is. Since Atom used tree-sitter as the default parser from 1.32.
I've added a Tree-Sitter grammar on my fork of this library, which relies on the tree-sitter-vue parser that was created recently.
If people would like to check it out and maybe even fill in some of the gaps, I would be grateful. My grammar is pretty minimalistic, and I've only tested it on the Dracula theme.
I still need to add syntax highlighting for the '
@dflock as this package is now in mostly maintenance mode, I'm going to venture to suggest this feature may not be implemented for the time being. It's of course very appreciated that you reached out with the feature request, but I'm not aware of any efforts being made to additionally offer a Tree-Sitter grammar. That is unless @jonboiser would want to draft a PR with their forked changes back here and get those merged in, which would be fantastic!
Otherwise, while appreciated, I'll go ahead and close this issue for now, as this feature does not seem to be planned.