]>
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 (from parent 1:
7ad9445 )
* remove a trailing comma if there is a single argument to a call
* remove a trailing comma if there is a single argument to a call
+* if top level functions were separated by a comment, don't put four
+ empty lines after the upper function
+
* fixed missing space in numpy-style array indexing (#33)
* fixed spurious space after star-based unary expressions (#31)
* fixed missing space in numpy-style array indexing (#33)
* fixed spurious space after star-based unary expressions (#31)
(two on module-level), as well as providing an extra empty line after flow
control keywords to make them more prominent.
"""
(two on module-level), as well as providing an extra empty line after flow
control keywords to make them more prominent.
"""
+ if current_line.is_comment:
+ # Don't count standalone comments towards previous empty lines.
+ return 0, 0
+
before, after = self._maybe_empty_lines(current_line)
self.previous_after = after
self.previous_line = current_line
before, after = self._maybe_empty_lines(current_line)
self.previous_after = after
self.previous_line = current_line