Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 6bebc3b

Browse files
committed
Fix luaformatterfiveone.vroom failures
1 parent 0bf16eb commit 6bebc3b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

vroom/luaformatterfiveone.vroom

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ examples.
1818
luaformatterfiveone expects the lua formatterfiveone executable to be installed
1919
on your system.
2020

21-
% function hello()
22-
% print("world")
21+
% function hello()<CR>
22+
% print("world")<CR>
2323
% end
2424
:FormatCode luaformatterfiveone
2525
! luaformatterfiveone -i 2> .*
@@ -43,11 +43,14 @@ Errors are reported using the quickfix list.
4343
@clear
4444
% 13()
4545
:FormatCode luaformatterfiveone
46-
! luaformatterfiveone -i 2> .*
46+
! luaformatterfiveone -i 2> (.*)
47+
$ 1 (status)
48+
$ echo >\1 ' (command)
49+
|luaformatterfiveone:Unable to format stdin:\n
50+
|[string "isCodeValid"]:1: unexpected symbol near '"'13'"
4751
~ (1 of 1): unexpected symbol near '13'
4852
:echomsg line('.') . ',' . col('.')
4953
~ 1,1
50-
:echomsg string(map(getqflist(),
51-
|'v:val.lnum . "," . v:val.text'))
54+
:echomsg string(map(getqflist(), 'v:val.lnum . "," . v:val.text'))
5255
~ ['1,unexpected symbol near ''13''']
5356

0 commit comments

Comments
 (0)