EvgeniyPeshkov / syntax-highlighter

Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
MIT License
215 stars 42 forks source link

Language-agnostic syntax highlighter? #49

Open banacorn opened 4 years ago

banacorn commented 4 years ago

I'm wondering if it's possible to make this extension language-agnostic, and let those tree-sitter grammars be standalone extensions. So that users can choose which language they want to highlight by installing the corresponding grammar.

I'm asking this because there's an experimental language that I want to highlight.
I already have the grammar up and running on the Atom editor, and I wanna port it to VS Code. But I don't think it's a good idea to pollute everybody's editor. So it would be nice if I can separate the syntax highlighter from grammars.

ericoporto commented 4 years ago

Hey, I am interested in this too! It would be for this language but I need to do some fixes in it.