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 fish queries #345

Merged
merged 1 commit into from May 19, 2024
Merged

Add fish queries #345

merged 1 commit into from May 19, 2024

Conversation

wisp3rwind
Copy link
Contributor

One thing that I'm not sure about is the else if handling: This is parsed as (else_if_clause "else" "if" ...) with two separate keywords. The query correctly matches this, but matchup will only highlight the else, whereas it would be great if it could highlight the entire "else" "if" including the whitespace between. Can this be done?

@andymass andymass merged commit ff3bea6 into andymass:master May 19, 2024
@andymass
Copy link
Owner

Thanks! The way else if works in other queries is #make-range! https://github.com/andymass/vim-matchup/blob/master/after/queries/c/matchup.scm#L23. Though, looking at the way your query is written I wonder if the plugin should be highlighting the entire thing.

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