Home Download Buy Blog Forum Support

Preferences for text file types

Preferences for text file types

Postby boazronkin on Sat Sep 21, 2013 6:31 pm

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
boazronkin
 
Posts: 1
Joined: Sat Sep 21, 2013 6:21 pm

Re: Preferences for text file types

Postby skuroda on Sat Sep 21, 2013 9:32 pm

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"
skuroda
 
Posts: 676
Joined: Fri Oct 05, 2012 8:11 am

Re: Preferences for text file types

Postby quodlibet on Mon Sep 23, 2013 1:33 pm

@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.)
quodlibet
 
Posts: 498
Joined: Sat Jun 18, 2011 5:53 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 9 guests