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 support for match expression #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mdomke
Copy link

@mdomke mdomke commented Apr 27, 2022

This is based on the work of @g15ecb

g15ecb@988efe9

@lukelbd
Copy link

lukelbd commented Jun 24, 2022

Have been using this for a while (copy-pasted your syntax file). Works fine for me so far.

@lukelbd
Copy link

lukelbd commented Jun 24, 2022

Seems to need approval from @nfnty?

@cdonovick
Copy link
Contributor

I have an alternate version of this 5d79f24

Mine is slightly more expensive as it avoids highlighting non keyword versions of the match case.

One note on this PR is that match / case should not appear in the pythonExpression cluster. pythonExpression is exclusively used by fstring highlighting and there is no expression form of match.

wmvanvliet added a commit to wmvanvliet/python-syntax that referenced this pull request Nov 8, 2023
- Add support for "match" statements (vim-python#91)
- Add support for additional exceptions (vim-python#93)
- Correctly spell-check f-strings (vim-python#94)
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

3 participants