6c80fa9d59
If the line a ruby error occurs on is 'too long' it will truncate the line it displays in the error output and wrap it in `...`. This breaks %p from finding the correct column so this patch ignores lines starting with `...` e.g. %p working ``` ruby -w -T1 -c broken.rb broken.rb:2: syntax error, unexpected tIDENTIFIER, expecting $end puts sprintf "%d, %.2f, %.2f, %.2f, %d" k, v ^ ``` %p not working ``` ruby -w -T1 -c broken.rb broken.rb:2: syntax error, unexpected tIDENTIFIER, expecting $end ...tf "%d, %.2f, %.2f, %.2f, %d" k, v[:cost], v[:val], v[:carri... ... ^ ``` |
||
---|---|---|
.. | ||
jruby.vim | ||
macruby.vim | ||
mri.vim |