Created
March 1, 2013 09:51
-
-
Save jordelver/5063615 to your computer and use it in GitHub Desktop.
Make the Sign Column show up all the time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Add a 'dummy' sign to the Sign Column to make it show up all the time | |
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
function! ShowSignColumn() | |
sign define dummy | |
execute 'sign place 9999 line=1 name=dummy buffer=' . bufnr('') | |
endfunc | |
"" Make the Sign Column always show up | |
au BufRead,BufNewFile * call ShowSignColumn() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment