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

narrow decorator match to exclude matrix multiplication #47

Closed
wants to merge 2 commits into from

Conversation

jhrmnn
Copy link

@jhrmnn jhrmnn commented Jan 13, 2016

Fixes #46. "@" in decorator definition always has to start a line. "@" as an inflix operator has to be always proceeded with something. This change distinguishes these two cases.

@anntzer
Copy link
Contributor

anntzer commented Jan 16, 2016

Actually ^\s*\zs@ is probably more efficient (at least according to vim's own docs which discourage the use of lookbehinds).

@jhrmnn
Copy link
Author

jhrmnn commented Jan 18, 2016

Agreed, I've updated accordingly.

lilydjwg added a commit to lilydjwg/dotvim that referenced this pull request Jun 17, 2016
lilydjwg added a commit to lilydjwg/python-syntax that referenced this pull request Dec 9, 2016
lilydjwg added a commit to vim-python/python-syntax that referenced this pull request Feb 17, 2017
@jhrmnn
Copy link
Author

jhrmnn commented Apr 26, 2019

I believe this repo was abandoned in favor of https://github.com/vim-python/python-syntax

@jhrmnn jhrmnn closed this Apr 26, 2019
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.

matrix multiplication
2 participants