diff --git a/plugin/workspace.vim b/plugin/workspace.vim index 7f3d2a7..ea702ae 100644 --- a/plugin/workspace.vim +++ b/plugin/workspace.vim @@ -206,8 +206,8 @@ function! s:SetIndentGuideHighlights(user_initiated) endif execute "highlight Conceal ctermfg=238 ctermbg=NONE guifg=Grey27 guibg=NONE" execute "highlight SpecialKey ctermfg=238 ctermbg=NONE guifg=Grey27 guibg=NONE" + execute printf('syntax match IndentGuideDraw /^\zs\ \ze\ \{%i}/ containedin=ALL conceal cchar=┆', &l:shiftwidth - 1) execute 'syntax match IndentGuideSpaces /^\ \+/ containedin=ALL contains=IndentGuideDraw keepend' - execute printf('syntax match IndentGuideDraw /^\zs\ \ze\ \{%i}/ contained conceal cchar=┆', &l:shiftwidth - 1) execute printf('syntax match IndentGuideDraw /\ \{%i}\zs \ze/ contained conceal cchar=┆', &l:shiftwidth - 1) endif endfunction