Skip to content

Commit 8aaa370

Browse files
committed
Fix compile_heredoc
1 parent a5159db commit 8aaa370

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
@@ -4895,7 +4895,7 @@ function! s:Compiler.compile_lambda(node)
48954895
endfunction
48964896

48974897
function! s:Compiler.compile_heredoc(node)
4898-
return printf('(heredoc (%s) "%s" %s))', join(a:node.rlist, ' '), a:node.op, self.escape_string(a:node.str))
4898+
return printf('(heredoc (%s) %s %s))', join(a:node.rlist, ' '), self.escape_string(a:node.op), self.escape_string(a:node.str))
48994899
endfunction
49004900

49014901
" TODO: under construction

0 commit comments

Comments
 (0)