diff options
| author | ryanss | 2015-02-02 23:59:00 -0500 |
|---|---|---|
| committer | ryanss | 2015-02-02 23:59:00 -0500 |
| commit | d6c1e11d45c1a3cc7067643eabd73994cd441c36 (patch) | |
| tree | 03c7c78c61603abaede758bb710dc540692f341a /plugin | |
| parent | c392e92e1e36b0a202a8fcf417b7f8ba48e10bd6 (diff) | |
| download | vim-hn-d6c1e11d45c1a3cc7067643eabd73994cd441c36.tar.gz | |
Improve job posting format/syntax on main page
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/hackernews.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/hackernews.py b/plugin/hackernews.py index 7781d72..8dc0a97 100644 --- a/plugin/hackernews.py +++ b/plugin/hackernews.py @@ -66,8 +66,9 @@ def hacker_news(): item['comments_count'], item['id']) bwrite(line) elif item['type'] == "job": - line = "%s%d. %s [%d]" - line %= (" " if i+1 < 10 else "", i+1, item['title'], item['id']) + line = "%s%d. %s (%s) [%d]" + line %= (" " if i+1 < 10 else "", i+1, item['title'], + item['domain'], item['id']) bwrite(line) line = "%s%s [%d]" line %= (" "*4, item['time_ago'], item['id']) |
