How to customise file type to syntax associations in Sublime Text?

前端 未结 6 1334
时光说笑
时光说笑 2020-11-28 17:30

I\'d like Sublime 2 editor to treat *.sbt files (to highlight syntax) as Scala language, same as *.scala, but I can\'t find where to set this up. Do you happen to know?

6条回答
  •  醉话见心
    2020-11-28 18:01

    There's an excellent plugin called ApplySyntax (previously DetectSyntax) that provides certain other niceties for file-syntax matching. allows regex expressions etc.

提交回复
热议问题