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

Added basic support for solidity language. #402

Merged
merged 1 commit into from Jun 22, 2021

Conversation

hrkrshnn
Copy link
Contributor

Can jump into functions, modifiers, events and custom errors.

dumb-jump.el Outdated

(:type "event" :supports ("ag" "grep" "rg" "git-grep") :language "solidity"
:regex "event\\s*JJJ\\s*\\\("
:tests ("event test();" "event test (uint indexed x)" "function test(uint x, address y)"))
Copy link
Owner

Choose a reason for hiding this comment

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

Tests are failing on function test(uint x, address y), which makes sense as this regex is only looking for event

@jacktasia
Copy link
Owner

Thanks for opening this! Looks like a tiny test failure that needs to be fixed (commented above)

Can jump into functions, modifiers, events and custom errors.
Copy link
Owner

@jacktasia jacktasia left a comment

Choose a reason for hiding this comment

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

Thanks!

@jacktasia jacktasia merged commit 542e72d into jacktasia:master Jun 22, 2021
@hrkrshnn hrkrshnn deleted the add-solidity-support branch June 22, 2021 21:02
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.

None yet

2 participants