Friday, February 28, 2014

Re: Dumb question: variables in the statusline

On Feb 28, 2014, at 7:58 AM, Nikolay Pavlov <zyx.vim@gmail.com> wrote: 

Don't use :execute and incorrect escaping. The following should work:

    let &l:statusline='%!FunctionFromWhichIAmTryingToGetAStatusline('.string(a:1).')'


That does seem to have worked. Thanks!

Ben

--
b

Sent from my iPhone

No comments: