summaryrefslogtreecommitdiff
path: root/ftplugin/hackernews.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/hackernews.vim')
-rw-r--r--ftplugin/hackernews.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim
index f8447f7..8334464 100644
--- a/ftplugin/hackernews.vim
+++ b/ftplugin/hackernews.vim
@@ -30,8 +30,9 @@ Python << EOF
if 'hackernews' not in sys.modules:
import hackernews
else:
+ import imp
# Reload python module to avoid errors when updating plugin
- hackernews = reload(hackernews)
+ hackernews = imp.reload(hackernews)
EOF