-
Notifications
You must be signed in to change notification settings - Fork 766
adding a lexer for vyper #2531
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
adding a lexer for vyper #2531
Conversation
|
That problem is fairly easy: You have: The length of the underline must match the text above, so you're missing a few more |
ty, fixed. |
|
seems like tox -e regexlint does not pass using (r'(\w+)\s*:\s*(\w+)', bygroups(Name.Variable, Keyword.Type)),
This loses part of the input. You need capturing groups for the whitespace and colon.
|
i see. should be fixed now, my bad. |
|
I've made a number of fixes that were more convenient for me to commit directly than to write on the diff. However, I unfortunately cannot push them, although you did tick the “allow edits by maintainers” box, because you created the PR from the |
Co-authored-by: mo <[email protected]>
adding a new lexer for vyper (smart contract language): https://docs.vyperlang.org/en/stable/
A thing I require some help with: when running
tox -e checkthe following error occurs:pygments/lexers/vyper.py:4: wrong module name underline, should be ~~~...~
i am using tilde, so im not really sure whats the issue there.
thanks in advance.