@@ -30,9 +30,21 @@ if !b:is_hledger
30
30
CompilerSet errorformat += % tarning: \ \" % f \" \\ ,\ line \ % l: \ % m
31
31
" Skip all other lines:
32
32
CompilerSet errorformat += %- G% .% #
33
- exe ' CompilerSet makeprg=' .substitute (g: ledger_bin , ' ' , ' \\ ' , ' g' ).' \ -f\ ' . substitute (shellescape (expand (g: ledger_main )), ' ' , ' \\ ' , ' g' ) . ' \ ' .substitute (g: ledger_extra_options , ' ' , ' \\ ' , ' g' ).' \ source\ ' . substitute (shellescape (expand (g: ledger_main )), ' ' , ' \\ ' , ' g' )
33
+ exe ' CompilerSet makeprg='
34
+ \. substitute (g: ledger_bin , ' ' , ' \\ ' , ' g' )
35
+ \. ' \ -f\ '
36
+ \. substitute (shellescape (expand (g: ledger_main )), ' ' , ' \\ ' , ' g' )
37
+ \. ' \ '
38
+ \. substitute (g: ledger_extra_options , ' ' , ' \\ ' , ' g' )
39
+ \. ' \ source\ '
40
+ \. substitute (shellescape (expand (g: ledger_main )), ' ' , ' \\ ' , ' g' )
34
41
else
35
- exe ' CompilerSet makeprg=' .substitute (g: ledger_bin , ' ' , ' \\ ' , ' g' ).' \ -f\ ' . substitute (shellescape (expand (g: ledger_main )), ' ' , ' \\ ' , ' g' ) . ' \ check\ ' . substitute (g: ledger_extra_options , ' ' , ' \\ ' , ' g' )
42
+ exe ' CompilerSet makeprg='
43
+ \. substitute (g: ledger_bin , ' ' , ' \\ ' , ' g' )
44
+ \. ' \ -f\ '
45
+ \. substitute (shellescape (expand (g: ledger_main )), ' ' , ' \\ ' , ' g' )
46
+ \. ' \ check\ '
47
+ \. substitute (g: ledger_extra_options , ' ' , ' \\ ' , ' g' )
36
48
CompilerSet errorformat = hledger:\ % trror:\ % f :% l: % c :
37
49
CompilerSet errorformat += hledger:\ % trror:\ % f :% l:
38
50
CompilerSet errorformat += hledger:\ % trror:\ % f :% l -% .% #:
0 commit comments