Sublime Forum

Preferences for text file types

#1

Hi,

How do I set preferences for text files? I’m interested in setting “spell_check”. I have no problem setting this flag globally in:

Packages/User/Preferences.sublime-settings.

The application, however, seems to ignore this flag if I set it in either of the following three files:

Packages/User/txt.sublime-settings
Packages/User/text.sublime-settings
Packages/User/Txt.sublime-settings

What am I doing wrong?

Thanks,
Boaz

0 Likes

#2

ST will create the correct file if you go to Preferences -> Settings - More -> Syntax Specific - User.

But the name you want is “Plain text.sublime-settings”

0 Likes

#3

@skuroda is correct.

The principle here is that you match the .sublime-settings file with the .tmLanguage file. (The Plain text.tmLanguage is provided by the Text package.)

0 Likes