]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Don't use optional parentheses in unnecessary situations
authorŁukasz Langa <lukasz@langa.pl>
Wed, 16 May 2018 03:52:22 +0000 (20:52 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Wed, 16 May 2018 05:13:16 +0000 (22:13 -0700)
commit5a47fd13cc4c9f43270dd12c37577244c1eabfcc
tree32c504dfb3585e3727c25604a92c1983674a83d2
parent8b64e916f65f2c1023f9abd6243a904bfbcd8fe9
Don't use optional parentheses in unnecessary situations

If an expression starts or ends with a bracket and only contains a single
delimiter, don't wrap it in additional optional parentheses.  We can use the
brackets for the split.

Fixes #177

Fixes #193
README.md
black.py
tests/composition.py
tests/empty_lines.py
tests/expression.diff
tests/expression.py