Skip to content

narrow decorator match to exclude matrix multiplication - #47

Closed
jhrmnn wants to merge 2 commits into
hdima:masterfrom
jhrmnn:matrix-mult-operator
Closed

narrow decorator match to exclude matrix multiplication#47
jhrmnn wants to merge 2 commits into
hdima:masterfrom
jhrmnn:matrix-mult-operator

Conversation

@jhrmnn

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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

@jhrmnn

Copy link
Copy Markdown
Author

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
Copy Markdown
Author

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

@jhrmnnjhrmnn closed this Apr 26, 2019
Sign up for freeto 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

@jhrmnn@anntzer