回答編集履歴
1
修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
現在は、[`file-types`](https://atom.io/packages/file-types)が提供する機能
|
1
|
+
現在は、[`file-types`](https://atom.io/packages/file-types)が提供する機能が`Atom`に[実装されている](http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-language-recognition)ので、**パッケージのインストールは不要**です。
|
2
2
|
以下のような手順で`htmlファイル`に対して`php`のハイライトを適用することができます。
|
3
3
|
0. `Ctrl+Shift+P`でコマンドパレットを開き、`open config`と入力して`Enterキー`を押下し、`config.cson`を開く。
|
4
4
|
0. 今回の場合、`core`の下に以下のような`customFileTypes`を追加する。
|