Skip to content

Commit d9c167e

Browse files
committed
Fix for js/py
1 parent be4d816 commit d9c167e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/vimlparser.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4751,7 +4751,7 @@ function! s:Printer.new(...)
47514751
endfunction
47524752

47534753
function! s:Printer.__init__(...)
4754-
let opts = a:0 && type(a:1) == 4 ? a:1 : {}
4754+
let opts = a:0 > 0 && type(a:1) == 4 ? a:1 : {}
47554755
let self.indent_sp = type(get(opts, 'indent_sp', 0)) == 1 ? opts.indent_sp : ' '
47564756
let self.indent = ['']
47574757
let self.lines = []

0 commit comments

Comments
 (0)