call Prep_Var("b:iainhex", 0)
call Prep_Var("b:iainverbose", 0)
" Window Flags: (F)ocused, (I)nsert mode, Cursor (H)old.
call Prep_Var("b:iainstatus", "'Fih'")
call Prep_Var("b:iainhex", 0)
call Prep_Var("b:iainverbose", 0)
" Window Flags: (F)ocused, (I)nsert mode, Cursor (H)old.
call Prep_Var("b:iainstatus", "'Fih'")
- call Prep_Var("g:iainextracolumnsnumber", 0)
- call Prep_Var("g:iainextracolumnslist", 0)
+ call Prep_Var("g:iainextracolumnsnumber", "''")
+ call Prep_Var("g:iainextracolumnslist", "''")
if has("signs")
call Prep_Var("g:marksigns", 0)
call Prep_Var("g:firstsign", 100)
if has("signs")
call Prep_Var("g:marksigns", 0)
call Prep_Var("g:firstsign", 100)
" Set extra columns depending on window status.
fun! Extra_Columns(extra, var, ...) "{{{2
" Set extra columns depending on window status.
fun! Extra_Columns(extra, var, ...) "{{{2
- let l:num_windows = 0
- while l:i <= winnr("$")
+ let l:windows = ""
+ while l:n < l:num_windows
+ " If window w exists then getwinvar(w, "&modified") will be 0 or 1.
+ if getwinvar(l:i, "&modified") =~ '^\d'
+ let l:n = l:n + 1
+
- call Resize_Columns(Extra_Columns("list", "&lcs", " =~# 'eol'"), 1)
+ call Resize_Columns(Extra_Columns("list", "iainlist", " == 2"), 1)