From 71aba2ebe0ad1cbfb888d8349ec95e7b79b1e88c Mon Sep 17 00:00:00 2001 From: thinca Date: Sun, 7 Aug 2016 00:59:35 +0900 Subject: [PATCH 1/2] Vim.BufferManager: Drop deprecated functions --- autoload/vital/__vital__/Vim/BufferManager.vim | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/autoload/vital/__vital__/Vim/BufferManager.vim b/autoload/vital/__vital__/Vim/BufferManager.vim index 63c72cde9..3dcc8369b 100644 --- a/autoload/vital/__vital__/Vim/BufferManager.vim +++ b/autoload/vital/__vital__/Vim/BufferManager.vim @@ -159,21 +159,6 @@ function! s:new(...) abort \.user_config(2 <= a:0 ? a:2 : {}) endfunction -function! s:open(buffer, opener) abort - call s:_deprecated('open') - return s:B.open(a:buffer, a:opener) -endfunction - -function! s:_deprecated(fname) abort - echomsg printf('Vital.Vim.BufferManager.%s is deprecated! Please use Vital.Vim.Buffer.%s instead.', - \ a:fname, a:fname) -endfunction - -function! s:is_cmdwin() abort - call s:_deprecated('is_cmdwin') - return s:B.is_cmdwin() -endfunction - function! s:_make_config(manager, configs) abort let configs = [a:manager._config] let user = a:manager._user_config From 09abbf1ca319bc4610974bb5b90c32ca4c0bec5c Mon Sep 17 00:00:00 2001 From: thinca Date: Sun, 7 Aug 2016 01:04:30 +0900 Subject: [PATCH 2/2] Vim.BufferManager: Add to Changes --- Changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Changes b/Changes index 8c8a18c7f..1f939aed4 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +71aba2ebe0ad1cbfb888d8349ec95e7b79b1e88c + Modules: Vim.BufferManager + The following deprecated functions were removed. + - open() + - is_cmdwin() + Use Vim.Buffer's one instead. 982d3cb87ef788f4607fc61f1fd20ec2e3975479 Modules: Vim.Guard Guard.store() API has changed to take a single List instance instead of arguments, due to the