gabrielelana / vim-markdown

Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!
MIT License
741 stars 58 forks source link

indenting with list from insert mode loses a space #31

Closed y2kbugger closed 9 years ago

y2kbugger commented 9 years ago

given the cursor at position C and you are in Insert mode:

- The first bullet
- The second
- C

pressing tab yields:

- The first bullet
- The second
  -C

However the expected result is:

- The first bullet
- The second
  - C

Note that once manually correct to the expected result and the bullet is indent, pressing tab correctly indents further, without losing the single spaces as described above

gabrielelana commented 9 years ago

Nice catch, I have not ever noticed because I always use * for lists and with * it works :smile: