4

I have a .md file that contains

3. test
1. indent me

When I move the cursor to the left of "1." I get:

3. test
   1. indent me

where the indent is 3 spaces. How do I get it to be a tab with a width of 2 spaces? I have "Tab Size: 2" on the bottom of the editor, so idk why I'm still indenting with 3 spaces.

abc
  • 1,141
  • 12
  • 29
  • Does this answer your question? [Visual Studio Code: format is not using indent settings](https://stackoverflow.com/questions/36251820/visual-studio-code-format-is-not-using-indent-settings) – ridvanaltun Oct 17 '21 at 00:03
  • . no .,,,,,,,,,,,,,,,,,,,,, – abc Oct 17 '21 at 01:08
  • Solved. I was using markdown all in one and had to change indentationSize to inherit – abc Oct 17 '21 at 01:22
  • 1
    Thank you! This was driving me crazy! Your solution worked for me. You should post your solution as the answer and accept it. – RebelOfBabylon May 04 '22 at 16:35

1 Answers1

10

I was using markdown all in one and had to change indentationSize to inherit

abc
  • 1,141
  • 12
  • 29