You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to return a statusline item from a component function?
For example, this doesn't work:
func! LightPercent()
return '%P'
endfunc
It just displays %P in the statusline, instead of the percent. I can't set the component to %P directly because I want to have additional logic in the component function.
The text was updated successfully, but these errors were encountered:
Hi and thanks for this great plugin!
Is there a way to return a statusline item from a component function?
For example, this doesn't work:
It just displays
%P
in the statusline, instead of the percent. I can't set the component to%P
directly because I want to have additional logic in the component function.The text was updated successfully, but these errors were encountered: