mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:00:05 +08:00
Fix stausline windows id (#2795)
when statusline mode text is enabled, the id of current windows is 0 on the statusline.
This commit is contained in:
parent
4e0f455b08
commit
1e6fe5b39e
@ -58,6 +58,8 @@ function! s:circled_num(num, type) abort
|
|||||||
else
|
else
|
||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
|
elseif a:type == 3
|
||||||
|
return a:num
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user