2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

sublime text3でpugのカラー表示が崩れたので直した

Last updated at Posted at 2018-05-16

sublime textを3.1.1にアップデートしたら、pugファイルのカラーリングが以下のように崩れた。(以前は正常に表示されていた)

スクリーンショット 2018-05-16 16.18.34.png

2行目の - varで崩れているので、以降の記述が全てjavascriptの認識になっているのだろう。

javascriptの記述行の末尾にセミコロンをつけたら直った。

スクリーンショット 2018-05-16 16.24.23.png

詳しい理由わかる方がいらっしゃったら教えてください。

2
0
0

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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?