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

Cabal ignore if for completions (#4289) #4427

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

SamuelLess
Copy link
Contributor

If conditions were previously handled as normal sections, for which we don't have any completion information. Now, we ignore the if section and use the parent section for completion purposes.

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot! Could we have a test for else and elif as well? Otherwise, looks good to me and ready for merge.

If conditions were previously handled as normal sections, for which we
don't have any completion information. Now, we ignore the if section
and use the parent section for completion purposes.

Co-authored-by: Niels Glodny <[email protected]>
@fendor
Copy link
Collaborator

fendor commented Oct 14, 2024

Closes #4289

@fendor fendor merged commit 1ec65ee into haskell:master Oct 14, 2024
36 checks passed
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.

4 participants