Closed hrqmonteiro closed 3 years ago
doesn't the picture show the expected behavior?
Expected behavior:
And unexpected one with 2 spcs:
with 4 spcs:
Dart code formatter uses 3 spcs!!!!:
This is too bad!
Expected behavior:
And unexpected one with 2 spcs:
with 4 spcs:
Dart code formatter uses 3 spcs!!!!: This is too bad!
this is because your vim setting &sw is 4. https://github.com/Yggdroot/indentLine/blob/5617a1cf7d315e6e6f84d825c85e3b669d220bfa/doc/indentLine.txt#L172-L176
Expected behavior:
And unexpected one with 2 spcs:
with 4 spcs:
Dart code formatter uses 3 spcs!!!!: This is too bad!
That is exactly my point. And my shiftwidth is set to 2, and it still doesn't show the expected behaviour.
Expected behavior:
And unexpected one with 2 spcs:
with 4 spcs:
Dart code formatter uses 3 spcs!!!!: This is too bad!
this is because your vim setting &sw is 4.
Still doesn't work for me. Indentlines only show for 4 spaces and so on.
I have
set tabstop=2
,set shiftwidth=2
,set expandtab
andset smarttab
activated. Why does the plugin don't show the indentlines at two spaces, only at four spaces?