Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.13k stars 225 forks source link

Do you feel like to help me to resolve that set the tab to a style similar to the indentLine? #317

Open yangxyo opened 4 years ago

yangxyo commented 4 years ago

This plugin is used for displaying thin vertical lines at each indentation level for code indented with spaces. For code indented with tabs I think there is no need to support it, because you can use :set list lcs=tab:\|\(here is a space).

Originally posted by @Yggdroot in https://github.com/Yggdroot/indentLine/issues/208#issuecomment-303652913

With xterm-256color.

set listchars=tab:\¦\ ,trail:■,extends:>,precedes:<,nbsp:+
set list
hi SpecialKey ctermfg=239 ctermbg=NONE

Change this one

to

  1. Fat -> Thin
  2. Hide the first level indentLine.

Very thanks!

MasterMedo commented 3 years ago
  1. :h bold
  2. :h lcs - don't think it can be done via this method
tydra-wang commented 2 years ago

+1