File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Contributors:
2828* Diego Rabatone Oliveira (https://github.com/diraol)
2929* Dimitrios Semitsoglou-Tsiapos (https://github.com/dset0x);
3030* Dirk Wallenstein (http://github.com/dirkwallenstein);
31+ * Filip Poboril (https://github.com/fpob)
3132* Florent Xicluna (http://github.com/florentx);
3233* Fredrik Henrysson (http://github.com/fhenrysson);
3334* fwuzju (https://github.com/fwuzju);
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ fun! pymode#doc#show(word) "{{{
3232 if g: pymode_doc_vertical
3333 wincmd L
3434 endif
35+
36+ normal gg
37+ execute ' resize ' . &previewheight
38+
3539 wincmd p
3640
3741endfunction " }}}
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ fun! pymode#rope#show_doc()
7676 setlocal nomodifiable
7777 setlocal nomodified
7878 setlocal filetype = rst
79+
80+ normal gg
81+ execute ' resize ' . &previewheight
82+
7983 wincmd p
8084 endif
8185endfunction
You can’t perform that action at this time.
0 commit comments