Friday, February 26, 2010

Re: Saving signs

On Fri, Feb 26, 2010 at 6:16 AM, Christian Brabandt <cblists@256bit.org> wrote:
> BTW: I noticed some unexpected behaviour when writing savesigns.vba.
> Is this behaviour a feature or a bug?
> :redir => a | sil sign list | redir end
> (this errors "E155: Unknown sign: |")
> so one has to wrap this command into
> :redir => a | exe 'sil sign list' | redir end

Don't know if its a bug, but it is documented.

From ":help :sign"
[quote]
Note that the ":sign" command cannot be followed by another command or a
comment. If you do need that, use the |:execute| command.
[/quote]

[]'s,
Vitor

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: