Created
January 28, 2016 12:29
-
-
Save paulmsmith/d0ee4d999bc7aa633128 to your computer and use it in GitHub Desktop.
emmet + nunjucks in atom with snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'atom-text-editor[data-grammar="text html nunjucks"]:not([mini])': | |
'tab': 'emmet:expand-abbreviation-with-tab' | |
'atom-text-editor[data-grammar="source nunjucks"]:not([mini])': | |
'tab': 'emmet:expand-abbreviation-with-tab' | |
#https://github.com/atom/autocomplete-plus/issues/86#issuecomment-82661027 | |
'atom-text-editor.autocomplete-active:not([mini])': | |
'tab': 'autocomplete-plus:confirm' | |
# Stop emmet from hijacking tab from snippet tab stops | |
'atom-text-editor[data-grammar="text html basic"]:not([mini]), atom-text-editor[data-grammar="source nunjucks"]:not([mini]), atom-text-editor[data-grammar="text html nunjucks"]:not([mini]), atom-text-editor[data-grammar~="jade"]:not([mini]), atom-text-editor[data-grammar~="css"]:not([mini]), atom-text-editor[data-grammar~="sass"]:not([mini])': | |
'tab': 'snippets:next-tab-stop' |
Thanks man.
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this. Working perfectly so far!