1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 08:40:06 +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:
Wang Shidong 2019-05-07 23:22:11 +08:00 committed by GitHub
parent 4e0f455b08
commit 1e6fe5b39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,8 @@ function! s:circled_num(num, type) abort
else
return ''
endif
elseif a:type == 3
return a:num
endif
endfunction