1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:30:04 +08:00

fix: Make tmux layer use statusline_iseparator and added separators. (#3342)

This commit is contained in:
Dennis Rausch 2020-02-10 22:39:45 -06:00 committed by GitHub
parent 8b94cf3525
commit 76afe2650b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,12 +113,16 @@ let s:separators = {
let s:i_separators = {
\ 'arrow' : ["\ue0b1", "\ue0b3"],
\ 'curve' : ["\ue0b4", "\ue0b6"],
\ 'slant' : ["\ue0b8", "\ue0ba"],
\ 'brace' : ["\ue0d2", "\ue0d4"],
\ 'fire' : ["\ue0c0", "\ue0c2"],
\ 'bar' : ['|', '|'],
\ 'nil' : ['', ''],
\ }
let s:tmuxline_separators = g:spacevim_statusline_separator
let s:tmuxline_separators_alt = g:spacevim_statusline_inactive_separator
let s:tmuxline_separators_alt = g:spacevim_statusline_iseparator
let s:tmux_navigator_modifier = 'ctrl'
function! SpaceVim#layers#tmux#set_variable(var) abort