vmail 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vmail.vim +4 -2
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail.vim
CHANGED
|
@@ -573,8 +573,10 @@ func! s:open_compose_window(command)
|
|
|
573
573
|
|
|
574
574
|
let previous_winnr = winnr()
|
|
575
575
|
split compose_message.txt
|
|
576
|
-
|
|
577
|
-
|
|
576
|
+
if winnr('$') > 1
|
|
577
|
+
exec previous_winnr . "wincmd w"
|
|
578
|
+
close!
|
|
579
|
+
end
|
|
578
580
|
|
|
579
581
|
setlocal modifiable
|
|
580
582
|
" TODO maybe later save backups?
|
data/lib/vmail/version.rb
CHANGED