Skip to content

Shift+tab folds instead of unindenting list even though fold is disabled #552

@davidjosefson

Description

@davidjosefson

What is wrong

When disabling fold_section by adding "mde.keymap_disable.fold_section": false in the "Markdown.sublime-settings - User"-file Shift+Tab will still fold a section when trying to unindent a list item if the list has a subtitle-row without Markddown-#.

How to reproduce

  1. Create a .md-file
  2. Add the following text:
# Title

Subtitle without hash
- List item 1
- List item 2
    + Indented list item 1
  1. Put cursor after the + and before ´Indented list item 1´
  2. Press Shift+Tab

Expected behavior

Unindent the + Indented list item 1-row, no folding.

Actual behaviour

Folds the text to the first row (# Title)

Workaround

Removing the Subtitle without hash-row or adding one or more # at the beginning (making it a proper subtitle) will make it work as expected.

System info

MarkdownEditing v2.2.7
Sublime v3.1.1 Build 3176
MacOS v10.14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions