Yggdroot / indentLine

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

Indentation lines only appearing every other tab, and only at the last tab. #314

Closed thorlucas closed 4 years ago

thorlucas commented 4 years ago

My indent lines only appear at every other indent level (at 2, at 4, at 6, etc), and only the last indent level is showing up. If something has three tabs, only the 2 shows up. If something has 5 tabs, only the 4 shows up. Here's a screenshot:

Screen Shot 2020-06-05 at 2 00 15 PM

I would expect something that looks like this (courtesy of sublime text):

Screen Shot 2020-06-05 at 2 02 05 PM

Here is what my init.vim looks like:

" IndentLine {{
let g:indentLine_char = '┊'
let g:indentLine_setColors = 0
"}}
Yggdroot commented 4 years ago

make sure the other places are spaces but not tab. set correct value to sw.

thorlucas commented 4 years ago

Thanks, you're right I was using tabs. Enabling both what you have in your readme for when I'm using tabs and also indentline for when I'm using spaces seems to work.