Color indentation levels.

This commit is contained in:
sfigato 2019-05-13 18:30:52 +02:00
parent 170060d491
commit ed102eb760
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

8
vimrc
View File

@ -63,6 +63,9 @@ Plug 'srcery-colors/srcery-vim'
Plug 'nightsense/cosmic_latte' Plug 'nightsense/cosmic_latte'
Plug 'rafi/awesome-vim-colorschemes' Plug 'rafi/awesome-vim-colorschemes'
" indent-guides
Plug 'nathanaelkane/vim-indent-guides'
" Dockerfile.vim " Dockerfile.vim
Plug 'ekalinin/Dockerfile.vim' Plug 'ekalinin/Dockerfile.vim'
@ -272,7 +275,12 @@ set directory=$VIMHOME/.swp//
" Draw tabs and trailing spaces. " Draw tabs and trailing spaces.
" set listchars=tab:<-> " set listchars=tab:<->
let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
set listchars=tab:\ ,trail:•,extends:#,nbsp:. set listchars=tab:\ ,trail:•,extends:#,nbsp:.
hi IndentGuidesOdd ctermbg=white
hi IndentGuidesEven ctermbg=lightgrey
set list set list
" Set the right margin. " Set the right margin.