Skip to content

Commit 225969f

Browse files
committed
refactor: Remove obsolete/dead code
1 parent 77b0dbe commit 225969f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ftplugin/ledger.vim

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,6 @@ endfunction
285285

286286
" Helper functions
287287

288-
" return length of string with fix for multibyte characters
289-
function! s:multibyte_strlen(text)
290-
return strlen(substitute(a:text, '.', 'x', 'g'))
291-
endfunction
292-
293288
" get # of visible/usable columns in current window
294289
function! s:get_columns()
295290
" As long as vim doesn't provide a command natively,
@@ -333,9 +328,7 @@ function! s:autocomplete_account_or_payee(argLead, cmdLine, cursorPos)
333328
endfunction
334329

335330
function! s:reconcile(file, account)
336-
" call inputsave()
337331
let l:amount = input('Target amount' . (empty(b:ledger_default_commodity) ? ': ' : ' (' . b:ledger_default_commodity . '): '))
338-
" call inputrestore()
339332
call ledger#reconcile(a:file, a:account, str2float(l:amount))
340333
endfunction
341334

0 commit comments

Comments
 (0)