diff options
Diffstat (limited to 'ftplugin/hackernews.py')
| -rw-r--r-- | ftplugin/hackernews.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py index 47c798f..26cfa62 100644 --- a/ftplugin/hackernews.py +++ b/ftplugin/hackernews.py @@ -158,6 +158,8 @@ def link(external=False): print_comments([item,]) else: print_comments(item['comments']) + # Highlight OP username in comment titles + vim.command("syn match Question /%s/ contained" % item['user']) return # Search for [http] link @@ -220,6 +222,8 @@ def link(external=False): print_comments([item,]) else: print_comments(item['comments']) + # Highlight OP username in comment titles + vim.command("syn match Question /%s/ contained" % item['user']) return if external: |
