I'd like a
Build command that starts a build independent of what build system is used.
command! -nargs=* Build :Makeshift<Bar>MakeshiftBuild <args>
E488: Trailing characters
Either one can be mapped and works, but the two of them produce the error.
-bar on my map. I cannot change Makeshift to use it.
The following works:
function! s:BuildFun(what2build) execute 'Makeshift' execute 'MakeshiftBuild '.a:what2build endfunction command! -nargs=* Build :call s:BuildFun(<q-args>)
Can someone clarify, why the one-liner does not work or how to make it work. Just to gain insight.