Skip to content

Commit c99443c

Browse files
ptosiianding1
authored andcommitted
leetcode.vim: Remove single-argument printf calls
1 parent 3925e9b commit c99443c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/leetcode.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ function! leetcode#ListProblems(refresh) abort
426426
execute bufnr(buf_name) . 'buffer'
427427
let saved_view = winsaveview()
428428
if a:refresh ==# 'redownload'
429-
let expr = printf('leetcode.get_problems(["all"])')
429+
let expr = 'leetcode.get_problems(["all"])'
430430
let b:leetcode_downloaded_problems = py3eval(expr)
431431
elseif a:refresh ==# 'norefresh'
432432
return
@@ -437,7 +437,7 @@ function! leetcode#ListProblems(refresh) abort
437437
execute 'rightbelow new ' . buf_name
438438
call s:SetupProblemListBuffer()
439439
let b:leetcode_buffer_type = 'all'
440-
let expr = printf('leetcode.get_problems(["all"])')
440+
let expr = 'leetcode.get_problems(["all"])'
441441
let b:leetcode_downloaded_problems = py3eval(expr)
442442
let b:leetcode_difficulty = 'All'
443443
let b:leetcode_state = 'All'

0 commit comments

Comments
 (0)