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

Elixir: Add defdelagate keyword and for function/module name #2709

Merged
merged 3 commits into from Jan 10, 2021

Conversation

@matthewlehner
Copy link
Contributor

@matthewlehner matthewlehner commented Jan 10, 2021

This is my first PR here. Hopeful that I've followed the guidelines properly!

This adds support for:

  • modules (aliased as class-name)
  • function names in definitions
  • defdelegate is added as a keyword

Here's a screenshot of the "module attributes" example with the module name and function name properly highlighted:
image

@github-actions
Copy link

@github-actions github-actions bot commented Jan 10, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +72 B (+9.5%).

file master pull size diff % diff
components/prism-elixir.min.js 761 B 833 B +72 B +9.5%

Generated by 🚫 dangerJS against 56bcafa

@matthewlehner matthewlehner force-pushed the elixir-updates branch 2 times, most recently from dd95d69 to 4ae5341 Jan 10, 2021
@RunDevelopment RunDevelopment merged commit 59f725d into PrismJS:master Jan 10, 2021
8 checks passed
@RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Jan 10, 2021

Thank you for contributing @matthewlehner!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants