summaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/hackernews.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py
index 2c7fd2a..8480979 100644
--- a/ftplugin/hackernews.py
+++ b/ftplugin/hackernews.py
@@ -69,9 +69,9 @@ def main():
if 'title' not in item:
continue
if 'domain' in item:
- line = "%s%d. %s (%s) [%d]"
+ line = "%s%d. %s (%s) [%s]%s"
line %= (" " if i+1 < 10 else "", i+1, item['title'],
- item['domain'], item['id'])
+ item['domain'], item['url'], unichr(160))
bwrite(line)
else:
line = "%s%d. %s [%d]"