Skip to content

feat: add vyper grammar#466

Merged
octref merged 4 commits into
shikijs:mainfrom
KevinBatdorf:add-vyper-lang
May 11, 2023
Merged

feat: add vyper grammar#466
octref merged 4 commits into
shikijs:mainfrom
KevinBatdorf:add-vyper-lang

Conversation

@KevinBatdorf

Copy link
Copy Markdown
Contributor

This adds the vyper grammar found here.

I'm not personally familiar with this language, but it looks like that it uses a .vy extension. Should that be added somewhere?

  • I have read docs for adding a language.
  • I have searched around and this is the most up-to-date, actively maintained version of the language grammar.
  • I have added a sample file that includes a variety of language syntaxes and succinctly captures the idiosyncrasy of a language. See docs for requirement.

@netlify

netlify Bot commented May 7, 2023

Copy link
Copy Markdown

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit a34f602
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/645d26b1f5efdf000886f25e
😎 Deploy Preview https://deploy-preview-466--shiki-matsu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@octref

octref commented May 11, 2023

Copy link
Copy Markdown
Collaborator

In grammarSources.ts, you can find languageAliases. Feel free to add that!

@KevinBatdorf

Copy link
Copy Markdown
Contributor Author

Thanks, added that now. Good to check again when you're ready.

@octref
octref merged commit faaf229 into shikijs:main May 11, 2023
@octref

octref commented May 11, 2023

Copy link
Copy Markdown
Collaborator

Awesome work as always 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

Successfully merging this pull request may close these issues.

2 participants