Skip to content

Commit da781a3

Browse files
committed
buglet in zprint plugin
1 parent e31a25b commit da781a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/codefmt/zprint.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ function! s:ApplyToZprintOptions(opts, key, value) abort
3232
call maktaba#ensure#IsArray(a:opts)
3333
call maktaba#ensure#IsString(a:key)
3434

35-
" We can only apply Vim settings for simple values of l:opts, because it's
35+
" We can only apply Vim settings for simple values of a:opts, because it's
3636
" an EDN map, not a list of command-line flags.
37-
let l:edn = empty(l:opts) ? '{}' : a:opts[0]
37+
let l:edn = empty(a:opts) ? '{}' : a:opts[0]
3838
if !startswith(l:edn, '{')
3939
return a:opts
4040
endif

0 commit comments

Comments
 (0)