Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
awef
on March 5, 2013
|
parent
|
context
|
favorite
| on:
Vim Git Gutter
Awesome work! Cheers airblade. One nitpicky thing though, why do you use "_" and not "-" for removed lines? Can't see why you wouldn't want it vertically centered!
tsm
on March 5, 2013
[–]
Removed lines happen
between
existing lines, so using an underscore makes it look like that.
Compare:
25 - def foo(): 26 baz()
With:
25 _ def foo(): 26 baz()
(Where there used to be a bar() call before baz().) The first version makes it look like the `def foo():` was somehow removed.
awef
on March 5, 2013
|
parent
[–]
Valid point! Can't believe it didn't occur to me ;)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: