summaryrefslogtreecommitdiff
path: root/ftplugin/hackernews.py
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/hackernews.py')
-rw-r--r--ftplugin/hackernews.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py
index 65938ae..0f09091 100644
--- a/ftplugin/hackernews.py
+++ b/ftplugin/hackernews.py
@@ -206,6 +206,8 @@ def link(external=False):
else:
print_comments(item['comments'])
# Highlight OP username in comment titles
+ if 'level' not in item:
+ vim.command("syn clear Question")
vim.command("syn match Question /%s/ contained" % item['user'])
elif url: