We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4d816 commit d9c167eCopy full SHA for d9c167e
autoload/vimlparser.vim
@@ -4751,7 +4751,7 @@ function! s:Printer.new(...)
4751
endfunction
4752
4753
function! s:Printer.__init__(...)
4754
- let opts = a:0 && type(a:1) == 4 ? a:1 : {}
+ let opts = a:0 > 0 && type(a:1) == 4 ? a:1 : {}
4755
let self.indent_sp = type(get(opts, 'indent_sp', 0)) == 1 ? opts.indent_sp : ' '
4756
let self.indent = ['']
4757
let self.lines = []
0 commit comments