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

Add Ada 2022 @ syntax #80

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Add Ada 2022 @ syntax #80

merged 1 commit into from
Sep 19, 2024

Conversation

MyApaulogies
Copy link
Collaborator

No description provided.

@dinkelk
Copy link
Collaborator

dinkelk commented Sep 17, 2024

@MyApaulogies - can you use rebase -i to drop the first and last commits in the PR. We don't need commits where you add and then later remove the fsh script. Although it is pretty cool to see!

@dinkelk
Copy link
Collaborator

dinkelk commented Sep 18, 2024

@MyApaulogies's script used for replacement at-syntax.fish:

# requires moreutils and ripgrep
for i in 1 2
    set -l regex '^(\s*(\S.*?)\h+:=.*?(\h|\())\2((\.|\h|\)).*?;)'
    for file in (rg -P --multiline $regex -l)
        rg -P --multiline $regex -r '$1@$4' "$file" -N --passthru | sponge "$file"
    end
end

@dinkelk dinkelk merged commit 3b09152 into lasp:main Sep 19, 2024
4 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.

2 participants