Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cypher grammar #465

Merged
merged 2 commits into from
May 11, 2023
Merged

feat: add cypher grammar #465

merged 2 commits into from
May 11, 2023

Conversation

KevinBatdorf
Copy link
Contributor

@KevinBatdorf KevinBatdorf commented May 7, 2023

This adds the Cypher query language grammar (source)

The grammar mentions "fileTypes": ["cql", "cyp", "cypher"],. Should these be added somewhere as aliases perhaps?

  • 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
Copy link

netlify bot commented May 7, 2023

Deploy Preview for shiki-matsu ready!

Name Link
🔨 Latest commit c2488e5
🔍 Latest deploy log https://app.netlify.com/sites/shiki-matsu/deploys/645d27496599e200085be05a
😎 Deploy Preview https://deploy-preview-465--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
Copy link
Collaborator

octref commented May 11, 2023

In grammarSources.ts, you can find languageAliases. I think cql sounds reasonable. From my googling I didn't find any files with cyp suffix.

@KevinBatdorf
Copy link
Contributor Author

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

Copy link
Collaborator

@octref octref left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

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