LoginSignup
9

More than 5 years have passed since last update.

Atomで拡張子ごとのハイライトを追加/変更する

Last updated at Posted at 2015-07-17

※この記事はv1.0.xでの対応を書いたもので現在のatomのバージョンでは対応不要です。

file-typesをインストールする。

https://atom.io/packages/file-types

config.csonに追加

例えばtx拡張子のファイルのハイライトをHTMLにする場合

"*":
  "file-types":
    tx: "text.html.basic"

※ "*"のスコープの中に書くようする。

リロード後ハイライトが対応されるようになるはず。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9