From b33d8a1dce89ba2fea486254bf51d6de48f3c784 Mon Sep 17 00:00:00 2001 From: "tanguy@aristotle" Date: Mon, 27 Jul 2020 11:26:35 +0200 Subject: [PATCH] Add indentline vim plugin and configuration --- .config/nvim/init.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9d66795..ec1ee2d 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -35,6 +35,9 @@ Plug 'mbbill/undotree' " Python auto completion engine Plug 'davidhalter/jedi-vim' +" Display indents +Plug 'yggdroot/indentline' + call plug#end() " autocmd vimenter * NERDTree | wincmd w @@ -89,3 +92,12 @@ set foldmethod=indent set foldnestmax=10 set nofoldenable 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