> I know about powerline, but I want to keep it simple and in vimscript,
> so if this is indeed a bug it would be nice if it could be fixed, and
> if it is intended I'd like to know the reason for it because it makes
> writing a complex statusline in pure vimscript basically impossible.

You don’t need python to write the same workaround. What we are doing here is 
having a global value of statusline set to a function that assigns local &stl 
values with window identifiers (they have to be recorded in window variable) in 
arguments. Assigning is done by iterating over windows and checking whether

1. window already has window_id marker;
2. local &stl value is already set to a value with window_id in arguments.

To avoid unnecessary redraws assigning happens only when one of the above 
conditions is false. window_id marker is used to determine window number: when 
iterating function used in local &stl value also compares window_id from its 
arguments with window_ids of the windows. Window number is used to get all 
other properties like current buffer.

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui