Sublime Forum

Push a custom setting into the default array settings

#1

Hi,

So, here is the problem :
In the default preferences settings, I have the following line :

"folder_exclude_patterns": ".svn", ".git", ".hg", "CVS"],

Now, in my user settings, I want to add a folder. Innocently, I will do :

"folder_exclude_patterns": "foo"],

Yea… but now .git and friends are not excluded anymore.

Is there any way to push my custom setting into an array of default settings ? I found no information about that and I suppose it’s complicated by the fact that defaults are read after user defined.

I guess I can paste defaults into my user defined… but did you look at binary_file_patterns ? file_exclude_patterns ?
Hey ! They are so many ! I don’t want to repeat them when they are already perfect !

0 Likes

#2

I have the exact same question.

0 Likes