]>
git.madduck.net Git - etc/vim.git/commitdiff
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:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
5dfc911 )
):
omit = {id(closing_bracket), *omit}
delimiter_count = body.bracket_tracker.delimiter_count_with_priority()
):
omit = {id(closing_bracket), *omit}
delimiter_count = body.bracket_tracker.delimiter_count_with_priority()
+ first = body.leaves[0]
+ last = body.leaves[-1]
if (
delimiter_count == 0
or delimiter_count == 1
and (
if (
delimiter_count == 0
or delimiter_count == 1
and (
- body.leaves[0].type in OPENING_BRACKETS
- or body.leaves[-1].type in CLOSING_BRACKETS
+ first.type in OPENING_BRACKETS
+ or last.type == token.RPAR
+ or last.type == token.RBRACE
+ or (
+ # don't use indexing for omitting optional parentheses;
+ # it looks weird
+ last.type == token.RSQB
+ and last.parent
+ and last.parent.type != syms.trailer
+ )
- if _cfg_target_split > [int(x) for x in cur_target.split(".")]:
- my_msg = "$MACOSX_DEPLOYMENT_TARGET mismatch: " 'now "%s" but "%s" during configure' % (
- cur_target,
- _cfg_target,
- )
def omitting_trailers(self) -> None:
get_collection(
def omitting_trailers(self) -> None:
get_collection(
d[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][
22
]
d[0][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][
22
]
+ assignment = (
+ some.rather.elaborate.rule() and another.rule.ending_with.index[123]
+ )
def easy_asserts(self) -> None:
assert {
def easy_asserts(self) -> None:
assert {