Skip to content

Commit af807cb

Browse files
committed
chore: Remove 9-year old deprected functions
1 parent 7b2cd2c commit af807cb

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

ftplugin/ledger.vim

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -226,21 +226,6 @@ function! LedgerComplete(findstart, base)
226226
endif
227227
endfunction
228228

229-
" Deprecated functions
230-
let s:deprecated = {
231-
\ 'LedgerToggleTransactionState': 'ledger#transaction_state_toggle',
232-
\ 'LedgerSetTransactionState': 'ledger#transaction_state_set',
233-
\ 'LedgerSetDate': 'ledger#transaction_date_set'
234-
\ }
235-
236-
for [s:old, s:new] in items(s:deprecated)
237-
let s:fun = "function! {s:old}(...)\nechohl WarningMsg\necho '" . s:old .
238-
\ ' is deprecated. Use '.s:new." instead!'\nechohl None\n" .
239-
\ "call call('" . s:new . "', a:000)\nendfunction"
240-
execute s:fun
241-
endfor
242-
unlet s:old s:new s:fun
243-
244229
function! s:collect_completion_data()
245230
let transactions = ledger#transactions()
246231
let cache = {'descriptions': [], 'tags': {}, 'accounts': {}, 'flat_accounts': []}

0 commit comments

Comments
 (0)