Procházet zdrojové kódy

use 256 colors for indent guides

Kyle P Davis před 11 roky
rodič
revize
a9abe2317b
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4 3
      .vimrc

+ 4 - 3
.vimrc

@@ -7,15 +7,13 @@ set hlsearch
 set nowrap
 set nowrap
 
 
 " give me all of teh colors!!
 " give me all of teh colors!!
+set t_Co=256
 set bg=dark
 set bg=dark
 colorscheme elflord
 colorscheme elflord
 syntax on
 syntax on
 
 
 " tabs and indents
 " tabs and indents
 set shiftwidth=4 tabstop=4 softtabstop=4
 set shiftwidth=4 tabstop=4 softtabstop=4
-"set list lcs=tab:\ \  " pretty indent guides when using tabs
-"set list lcs=tab:\⦚\  " pretty indent guides when using tabs
-"highlight SpecialKey ctermbg=darkgray guifg=#424242
 
 
 " tab based indention behaviors
 " tab based indention behaviors
 vmap <Tab> >
 vmap <Tab> >
@@ -65,6 +63,9 @@ let g:better_whitespace_filetypes_blacklist=['conque_term']
 
 
 Plug 'nathanaelkane/vim-indent-guides'  " pretty indent guides with softtabs
 Plug 'nathanaelkane/vim-indent-guides'  " pretty indent guides with softtabs
 let g:indent_guides_guide_size = 1
 let g:indent_guides_guide_size = 1
+let g:indent_guides_auto_colors = 0
+autocmd VimEnter * :highlight IndentGuidesOdd ctermbg=232
+autocmd VimEnter * :highlight IndentGuidesEven ctermbg=233
 autocmd VimEnter * :IndentGuidesEnable
 autocmd VimEnter * :IndentGuidesEnable
 
 
 Plug 'lilydjwg/colorizer'  " colorize CSS inline
 Plug 'lilydjwg/colorizer'  " colorize CSS inline