Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

narrow decorator match to exclude matrix multiplication#47

Closed
jhrmnn wants to merge 2 commits intohdima:masterhdima/python-syntax:masterfrom
jhrmnn:matrix-mult-operatorjhrmnn/python-syntax:matrix-mult-operatorCopy head branch name to clipboard
Closed

narrow decorator match to exclude matrix multiplication#47
jhrmnn wants to merge 2 commits intohdima:masterhdima/python-syntax:masterfrom
jhrmnn:matrix-mult-operatorjhrmnn/python-syntax:matrix-mult-operatorCopy head branch name to clipboard

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

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.