Skip to content

Commit 2c9cfbb

Browse files
author
Boris Filippov
committed
Add missing StringIO import to pymode#doc#Show
1 parent 34a9d90 commit 2c9cfbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

autoload/pymode/doc.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ fun! pymode#doc#Show(word) "{{{
55
if a:word == ''
66
echoerr "No name/symbol under cursor!"
77
else
8+
py import StringIO
89
py sys.stdout, _ = StringIO.StringIO(), sys.stdout
910
py help(vim.eval('a:word'))
1011
py sys.stdout, out = _, sys.stdout.getvalue()

0 commit comments

Comments
 (0)