rubberduck-ai / rubberduck-vscode

Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode
MIT License
602 stars 75 forks source link

Add syntax highlight for language "twig" #60

Closed alessandro-newzoo closed 1 year ago

alessandro-newzoo commented 1 year ago

Not much to add, besides thanking you so much for this fantastic extension!

Useful links:

lgrammel commented 1 year ago

We are using Prism for syntax highlighting (see https://github.com/rubberduck-ai/rubberduck-vscode/blob/main/lib/webview/src/component/DiffView.tsx#L219 ). Can you check if it provides support for twig?

alessandro-newzoo commented 1 year ago

hey @lgrammel thanks for your reply! Assuming this is the Prism you're talking about: https://prismjs.com/ if you scroll down (or search for twig in the page) they do support it :)

image
nicoespeon commented 1 year ago

twig

There you go! It will be available with the next release. Thanks for suggesting!

@all-contributors please add alessandro-newzoo for ideas

allcontributors[bot] commented 1 year ago

@nicoespeon

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

I've put up a pull request to add @alessandro-newzoo! :tada:

alessandro-newzoo commented 1 year ago

twig

There you go! It will be available with the next release. Thanks for suggesting!

@all-contributors please add alessandro-newzoo for ideas

legend! thanks a lot!

allcontributors[bot] commented 1 year ago

@alessandro-newzoo

I couldn't determine any contributions to add, did you specify any contributions? Please make sure to use valid contribution names.

@alessandro-newzoo already contributed before to ideas