2020-12-04 23:04:57 +01:00
|
|
|
" Sign column color and visibility
|
2020-12-07 16:36:17 +01:00
|
|
|
let s:sc_modes = {
|
|
|
|
\ 'no' : 'yes' ,
|
|
|
|
\ 'yes' : 'no' ,
|
|
|
|
\ }
|
|
|
|
|
|
|
|
function! <SID>ToggleSignColumn()
|
|
|
|
let &signcolumn = s:sc_modes[ &g:signcolumn ]
|
|
|
|
endfunction
|
|
|
|
|
|
|
|
highlight SignColumn ctermfg=15 ctermbg=234
|
2020-12-04 23:04:57 +01:00
|
|
|
set signcolumn=yes
|
2020-12-07 16:36:17 +01:00
|
|
|
nmap <silent> <leader>os :call <SID>ToggleSignColumn()<cr>
|