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

nifs attribute completion #1537

Merged
merged 1 commit into from
Sep 23, 2024
Merged

nifs attribute completion #1537

merged 1 commit into from
Sep 23, 2024

Conversation

plux
Copy link
Contributor

@plux plux commented Sep 18, 2024

Description

Adds completion for -nifs attribute officially supported from OTP25

@plux plux mentioned this pull request Sep 18, 2024
@@ -205,7 +206,8 @@ editable_range(#{kind := Kind, data := #{name_range := Range}}, function) when
Kind =:= export_type_entry;
Kind =:= import_entry;
Kind =:= type_application;
Kind =:= type_definition
Kind =:= type_definition,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Kind =:= type_definition,
Kind =:= type_definition;

took me a while...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh wow haha! that was a subtle bug. Good thing we got tests :)

@plux
Copy link
Contributor Author

plux commented Sep 23, 2024

Thanks for your contribution @MarkoMin

@plux plux merged commit 79eab37 into main Sep 23, 2024
12 checks passed
@plux plux deleted the nifs_attribute branch September 23, 2024 14:36
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