diff options
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/hackernews.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py index 37f1e05..65938ae 100644 --- a/ftplugin/hackernews.py +++ b/ftplugin/hackernews.py @@ -253,9 +253,9 @@ def print_comments(comments, level=0): for comment in comments: if 'level' in comment: # This is a comment (not content) so add comment header - bwrite("%sComment by %s %s:" + bwrite("%sComment by %s %s: [%s]" % (" "*level*4, comment.get('user', '???'), - comment['time_ago'])) + comment['time_ago'], comment['id'])) for p in comment['content'].split("<p>"): if not p: continue |
