Closed antonjn closed 11 years ago
Do you still get this error if you go back one commit?
On Wed, Apr 17, 2013 at 3:58 PM, Anton Jonsson notifications@github.comwrote:
Error detected while processing QuickFixCmdPost Auto commands for "make": E488: Trailing characters
I get the error (running :Rake test) when both vim-rails and vim-bundle are installed (pathogen). If I remove vim-bundle, the error disappears.
— Reply to this email directly or view it on GitHubhttps://github.com/tpope/vim-bundler/issues/21 .
Yes
I too see this. On MacVim 7.3. Relevant portion of :20verb Rake:
Executing QuickFixCmdPost Auto commands for "make"
autocommand if &makeprg =~# '^bundle' && exists('b:bundler_root') | call s:pop_command() | call s:project().paths("refresh") | endif
line 0: if &makeprg =~# '^bundle' && exists('b:bundler_root') | call s:pop_command() | call s:project().paths("refresh") | endif
line 0: call s:pop_command() | call s:project().paths("refresh") | endif
line 0: call s:project().paths("refresh") | endif
Exception thrown: Vim(call):E488: Trailing characters
function <SNR>48_Rake..<SNR>48_make aborted
+1. I'm seeing this too.
A bisect to find the commit causing the problem would help me diagnose and fix it.
There you go! Thanks @tpope
➜ vim-bundler git bisect bad
ff2a956a43a19463fb9ba86736020dcfcd07a462 is the first bad commit
commit ff2a956a43a19463fb9ba86736020dcfcd07a462
Author: Tim Pope <code@tpope.net>
Date: Tue Mar 19 12:00:51 2013 -0400
Remove old Ruby powered lock parser
It's been disabled by default for a while now without issue.
:040000 040000 60607bcea31867b200a827c90328ff5246e4ea0d fc147b4b6c5a842d7a42c48be7a8b952071433e7 M plugin
+1
I have been having the same issue when using Syntastic, even when working on non-Ruby projects, hence the pull request. I hope it helps.
This appears to be a problem with older Vim builds (older than version 7.3.097). Upgrading Vim to include at least patch 97 should solve your problem.
If, for whatever reason, you're unable to upgrade Vim, PR #24 works around the issue.
Since the PR has now been merged, I guess this issue can be closed...
@johnsyweb correct. Are people still having this issue?
@tpope It works for me now, thanks!
I get the error (running
:Rake test
) when both vim-rails and vim-bundle are installed (pathogen). If I remove vim-bundle, the error disappears.