Question

I have added:

    <string>conf</string>

to fileTypes section (https://github.com/clintberry/sublime-text-2-ini/blob/master/INI.tmLanguage) for INI plugin but .conf files (which are essentially .ini files) are still not syntax highlighted in ST2.

I'd add ticket in INI plugin github Issues system but it seems to be abandonware...

Was it helpful?

Solution

Open a .conf file in Sublime, then select View -> Syntax -> INI for syntax highlighting. Then, select View -> Syntax -> Open all with current extension as... -> INI and you should be all set. This creates a file Packages/User/INI.sublime-settings with the correct settings in it:

{
    "extensions":
    [
        "conf"
    ]
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top