From d478faa45b8812dc17a582b56041b973eae5eb57 Mon Sep 17 00:00:00 2001 From: Arith Xu Date: Fri, 16 Mar 2018 13:15:56 +0800 Subject: [PATCH] add indentation levels to tab-based files --- autoload/SpaceVim/layers/ui.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/SpaceVim/layers/ui.vim b/autoload/SpaceVim/layers/ui.vim index fdd91f82d..4c7780998 100644 --- a/autoload/SpaceVim/layers/ui.vim +++ b/autoload/SpaceVim/layers/ui.vim @@ -35,6 +35,10 @@ function! SpaceVim#layers#ui#config() abort else let g:indentLine_color_gui = get(g:, 'indentLine_color_gui', '#d5c4a1') endif + + " Add indentation level to tab-indentated files. + " Note: there is a blank space at the end of the late backslash + autocmd FileType go set list lcs=tab:\┊\ let g:indentLine_char = get(g:, 'indentLine_char', '┊') let g:indentLine_concealcursor = 'niv' let g:indentLine_conceallevel = 2