Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight adjustment to make smart_folding work — perhaps document? #48

Open
danielsgriffin opened this issue Sep 5, 2019 · 0 comments

Comments

@danielsgriffin
Copy link

Just installed. Excited this still works!
smart_folding wasn't working for me but global_folding was so I changed a line in the key bindings and it worked!
Note: just changed the operand in smart to match that in global: text.html.markdown

Not sure what it did but it made me happy.
old:

{ "keys": ["tab"], "command": "smart_folding", "context":
    [
        { "key": "selector", "operator": "equal", "operand": "markup.heading.markdown" }
    ]
},
{ "keys": ["shift+tab"], "command": "global_folding", "context":
    [
        { "key": "selector", "operator": "equal", "operand": "text.html.markdown" }
    ]
},

new:

{ "keys": ["tab"], "command": "smart_folding", "context":
    [
        { "key": "selector", "operator": "equal", "operand": "text.html.markdown" }
    ]
},
{ "keys": ["shift+tab"], "command": "global_folding", "context":
    [
        { "key": "selector", "operator": "equal", "operand": "text.html.markdown" }
    ]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant