I'm running into some strange behavior with autocommands, using Vim
7.3.353. I'm not sure whether it's a bug, or just one of those gotchas
that seem to pop up throughout Vim's syntax.
I have a command defined as follows:
command! WinWidth execute 'vertical resize' (textwidth + 1)
I want the
On 11/11/11 15:34, Taylor Hedberg wrote:
I'm running into some strange behavior with autocommands, using Vim
7.3.353. I'm not sure whether it's a bug, or just one of those gotchas
that seem to pop up throughout Vim's syntax.
I have a command defined as follows:
command! WinWidth execute
Tony Mechelynck, Fri 2011-11-11 @ 15:50:04+0100:
You forgot to set the -bar switch in the definition of WinWidth,
therefore it cannot be followed by | and another command.
Thanks, I suspected that it was something stupid that I was doing. :)
As usual, the answer would have been obvious had I