diff options
| author | ryanss | 2015-03-12 23:59:00 -0400 |
|---|---|---|
| committer | ryanss | 2015-03-12 23:59:00 -0400 |
| commit | 681ad0ef1049ed4f6b45f4e8522a3f7af937ce93 (patch) | |
| tree | 931d646512f98f050d2fe2743ef57a5c6ff5f9c6 /ftplugin/hackernews.vim | |
| parent | 81754e6acc9cb4d8210229a3077eadda3efb85dd (diff) | |
| download | vim-hn-681ad0ef1049ed4f6b45f4e8522a3f7af937ce93.tar.gz | |
Python 3 fixes
Diffstat (limited to 'ftplugin/hackernews.vim')
| -rw-r--r-- | ftplugin/hackernews.vim | 3 |
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 |
