You cannot set exclusive language settings directly in your user Preferences.sublime-settings file. However, when editing a file of a certain type, you can create a settings file limited only by this type using the menu item Preferences -> SettingsโMore -> Syntax Specific โ User .
This new file will appear in your Packages/User directory with a name that matches its language, for example. Markdown.sublime-settings will be a specific Markdown settings file.
source share