heavim/cfg/50-sign-column.vim

14 lines
321 B
VimL
Raw Normal View History

2020-12-04 23:04:57 +01:00
" Sign column color and visibility
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
nmap <silent> <leader>os :call <SID>ToggleSignColumn()<cr>