marko-js / atom-language-marko

Syntax highlighting in Atom for the Marko templating language
MIT License
33 stars 6 forks source link

emmet not working in Atom. #16

Open leili2017 opened 7 years ago

leili2017 commented 7 years ago

I have atom-language-marko and emmet plugins installed in Atom. Emmet is not working on files with .marko extension. I noticed that there was an emmet issue in the past and got fixed. But it's not working now.

joshrio commented 7 years ago

+1

joshrio commented 7 years ago

Solved this by going to Atom > Keymap and adding this to the file.

'atom-text-editor[data-grammar~="marko"]:not([mini])':
    'tab': 'emmet:expand-abbreviation-with-tab'

In this link, https://github.com/marko-js/marko/issues/114, it mentions adding code to the snippets.json file. I couldn't actually find snippets.json anywhere, so I haven't added that code and I have it working for me in Atom 1.17.2.