Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
emmet + nunjucks in atom with snippets
'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'
'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'
Copy link

natedunn commented Feb 27, 2016

Thanks for this. Working perfectly so far!

Copy link

gugadev commented Apr 3, 2017

Thanks man.

Copy link

yotsukura commented Sep 11, 2019


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment