-
-
Save jitendravyas/550c39dde45b920b0fc69fd77df3caef 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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment