atom / language-gfm

GitHub Flavored Markdown in Atom
MIT License
101 stars 107 forks source link

Tab Length doesn't seem to work? #134

Open chrisdrackett opened 8 years ago

chrisdrackett commented 8 years ago

I have a Tab Lentgh in the settings set to 2 spaces, but when I tab in a file I always get 4. not sure if I'm missing something...

lee-dohm commented 8 years ago

Because things in Markdown are based on multiples of four spaces, the default in Markdown is 4 spaces regardless of your global setting. You can change it by going to the language-gfm settings in the Settings View:

  1. Launch Atom
  2. Open the Settings View with Cmd+, on OS X or Ctrl+, on other platforms
  3. Click the Packages tab
  4. Search for language-gfm
  5. Click the Settings button on the language-gfm card
  6. Scroll down to see "Tab Length"
  7. Set it to whatever value you prefer
chrisdrackett commented 8 years ago

Right, this is what I'm talking about, this is where I have it set to 2 spaces

lee-dohm commented 8 years ago

I can't reproduce the behavior you're describing using Atom v1.5.0-dev-f3e257c on Mac OS X 10.11.1. Have you tried closing and opening the Markdown document after you change the setting?

Have you followed the suggestions in the Debugging document? Also, could you give the following information?