Skip to content

Instantly share code, notes, and snippets.

@ernestoalejo
Created January 22, 2015 08:45
Show Gist options
  • Save ernestoalejo/831e2878735be32199ac to your computer and use it in GitHub Desktop.
Save ernestoalejo/831e2878735be32199ac to your computer and use it in GitHub Desktop.
Autocomplete in soy files
{
"keys": [
"tab"
],
"command": "expand_abbreviation_by_tab",
"context": [
{
"operand": "source.css, source.sass, source.less, source.scss, source.stylus, source.jade, text.slim, text.xml, text.html - source, text.haml, text.scala.html, source string, source.soy",
"operator": "equal",
"match_all": true,
"key": "selector"
},
{
"operand": "storage.type.templatetag.django",
"operator": "not_equal",
"match_all": true,
"key": "selector"
},
{
"match_all": true,
"key": "selection_empty"
},
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "has_next_field"
},
{
"operator": "equal",
"operand": false,
"match_all": true,
"key": "setting.disable_tab_abbreviations"
},
{
"operand": false,
"operator": "equal",
"match_all": true,
"key": "auto_complete_visible"
},
{
"match_all": true,
"key": "is_abbreviation"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment