问题:
How do I set a default filetype for a certain file extension in Sublime Text 2? 如何在Sublime Text 2中为特定文件扩展名设置默认文件类型? Specifically I want to have *.cfg files default to having Ini syntax highlighting but I cannot seem to figure out how I could create this custom setting. 具体来说,我希望* .cfg文件默认具有Ini语法高亮,但我似乎无法弄清楚如何创建此自定义设置。
解决方案:
参考一: https://stackoom.com/question/VmTO/在Sublime-Text-中将默认语法设置为不同的文件类型参考二: https://oldbug.net/q/VmTO/Set-default-syntax-to-different-filetype-in-Sublime-Text-2
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4257748