alejorivera
alejorivera

Reputation: 945

Atom Editor, Set default syntax for erb files: HTML(Rails) over HTML(Ruby - erb)

I just spent the last hour going through Atom forums looking for an answer for this. Has anyone figured it out yet?

Upvotes: 4

Views: 1054

Answers (1)

Tom Skarbek-Wazynski
Tom Skarbek-Wazynski

Reputation: 122

core:
    customFileTypes:
      "text.html.ruby": [
        "erb"
      ]

Add above to config.cson and restart atom.

Upvotes: 5

Related Questions