diff options
| author | Teddy Wing | 2015-10-08 00:06:00 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2015-10-08 00:06:00 -0400 | 
| commit | 070aa028e22fa7e15911cd4e40764fc9b48c7be1 (patch) | |
| tree | c50497113ace74f7037b4963a25d33c236eddad9 | |
| parent | ab36c2cc39f583e2b381593c013f36248dad738b (diff) | |
| download | vim-space-vlaze-070aa028e22fa7e15911cd4e40764fc9b48c7be1.tar.bz2 | |
buffer#Init: Use existing Space Vlaze buffer if available
Don't create a new Space Vlaze buffer if one already exists.
| -rw-r--r-- | autoload/space_vlaze/buffer.vim | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/autoload/space_vlaze/buffer.vim b/autoload/space_vlaze/buffer.vim index dfbe47f..ecea3d8 100644 --- a/autoload/space_vlaze/buffer.vim +++ b/autoload/space_vlaze/buffer.vim @@ -6,8 +6,7 @@ function! space_vlaze#buffer#Init()  		call space_vlaze#buffer#New()  		call space_vlaze#menus#Start()  	else -		" enew -		" execute 'b'  +		execute 'b' . bufnr(s:buffer_name)  	endif  endfunction | 
