Add indentline vim plugin and configuration

This commit is contained in:
Tanguy Herbron 2020-07-27 11:26:35 +02:00
parent b6d1452b1d
commit b33d8a1dce

View File

@ -35,6 +35,9 @@ Plug 'mbbill/undotree'
" Python auto completion engine " Python auto completion engine
Plug 'davidhalter/jedi-vim' Plug 'davidhalter/jedi-vim'
" Display indents
Plug 'yggdroot/indentline'
call plug#end() call plug#end()
" autocmd vimenter * NERDTree | wincmd w " autocmd vimenter * NERDTree | wincmd w
@ -89,3 +92,12 @@ set foldmethod=indent
set foldnestmax=10 set foldnestmax=10
set nofoldenable set nofoldenable
set foldlevel=99 set foldlevel=99
" indentline configs
let g:indentLine_enabled = 1
let g:indentLine_char = '|'
let g:indentLine_leadingSpaceEnabled = 1
let g:indentLine_leadingSpaceChar = '.'
let g:indentLine_setColors = 1
let g:indentLine_color_gui = "#5C6370"
let g:indentLine_showFirstIndentLevel = 1