Skip to content

Commit c6287a5

Browse files
authored
Merge pull request #446 from vim-jp/Vim.BufferManager-drop-deprecated-functions
Vim.BufferManager: Drop deprecated functions
2 parents 4ff8d9e + 09abbf1 commit c6287a5

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

Changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
71aba2ebe0ad1cbfb888d8349ec95e7b79b1e88c
2+
Modules: Vim.BufferManager
3+
The following deprecated functions were removed.
4+
- open()
5+
- is_cmdwin()
6+
Use Vim.Buffer's one instead.
17
982d3cb87ef788f4607fc61f1fd20ec2e3975479
28
Modules: Vim.Guard
39
Guard.store() API has changed to take a single List instance instead of arguments, due to the

autoload/vital/__vital__/Vim/BufferManager.vim

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -159,21 +159,6 @@ function! s:new(...) abort
159159
\.user_config(2 <= a:0 ? a:2 : {})
160160
endfunction
161161

162-
function! s:open(buffer, opener) abort
163-
call s:_deprecated('open')
164-
return s:B.open(a:buffer, a:opener)
165-
endfunction
166-
167-
function! s:_deprecated(fname) abort
168-
echomsg printf('Vital.Vim.BufferManager.%s is deprecated! Please use Vital.Vim.Buffer.%s instead.',
169-
\ a:fname, a:fname)
170-
endfunction
171-
172-
function! s:is_cmdwin() abort
173-
call s:_deprecated('is_cmdwin')
174-
return s:B.is_cmdwin()
175-
endfunction
176-
177162
function! s:_make_config(manager, configs) abort
178163
let configs = [a:manager._config]
179164
let user = a:manager._user_config

0 commit comments

Comments
 (0)