vmail 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/vmail.vim +4 -2
  2. data/lib/vmail/version.rb +1 -1
  3. metadata +1 -1
@@ -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
- exec previous_winnr . "wincmd w"
577
- close!
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?
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.8.0'
2
+ VERSION = '1.8.1'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.8.0
5
+ version: 1.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi