We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83b0bbe + 37a0f03 commit e02173cCopy full SHA for e02173c
autoload/vimlparser.vim
@@ -18,7 +18,7 @@ function! vimlparser#test(input, ...)
18
else
19
let l:neovim = 0
20
endif
21
- let i = type(a:input) == 1 && filereadable(a:input) ? readfile(a:input) : [a:input]
+ let i = type(a:input) == 1 && filereadable(a:input) ? readfile(a:input) : split(a:input, "\n")
22
let r = s:StringReader.new(i)
23
let p = s:VimLParser.new(l:neovim)
24
let c = s:Compiler.new()
0 commit comments