Thursday, February 27, 2014

Re: Dumb question: variables in the statusline

On Feb 27, 2014, at 10:05 AM, Paul Isambert <zappathustra@free.fr> wrote:

> "statusline" is a string, so I guess the correct form is:
>
> exe "setlocal statusline=%!FunctionFromWhichIAmTryingToGetAStatusline('" . a:1 . "')"

I was wondering whether I would have to use execute. Thanks!

--
b

Sent from my iPhone

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: