Skip to content

Proposal: add compound assignment operators "*=", "/=", "%="#3931

Closed
ichizok wants to merge 5 commits intovim:masterfrom
ichizok:feature/compound-assignment-operators
Closed

Proposal: add compound assignment operators "*=", "/=", "%="#3931
ichizok wants to merge 5 commits intovim:masterfrom
ichizok:feature/compound-assignment-operators

Conversation

@ichizok
Copy link
Contributor

@ichizok ichizok commented Feb 10, 2019

Currently Vim script has only 3 compound assignment operators "+=", "-=", ",=" for ":let".
This patch adds 3 operators, as which exist in other programming languages.

let x *= 2
let x /= 2
let x %= 2

@brammool brammool closed this in ff697e6 Feb 12, 2019
@ichizok ichizok deleted the feature/compound-assignment-operators branch February 12, 2019 22:03
hlpr98 pushed a commit to hlpr98/neovim that referenced this pull request Jun 17, 2019
Problem:    Incomplete set of assignment operators.
Solution:   Add /=, *= and %=. (Ozaki Kiichi, closes vim/vim#3931)
vim/vim@ff697e6
hlpr98 pushed a commit to hlpr98/neovim that referenced this pull request Jun 17, 2019
Problem:    Incomplete set of assignment operators.
Solution:   Add /=, *= and %=. (Ozaki Kiichi, closes vim/vim#3931)
vim/vim@ff697e6
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.

1 participant