Sublime Forum

Showing custom syntax in syntax list

#1

I’ve been searching but i can’t seem to find

Is there a way to add our custom syntax to the list on the menu? I’m on mac

I also notice this on sublime settings
“index_exclude_patterns” : ["*.log"]

our files are .log but im not sure what it does for real

0 Likes

#2

Any valid *.sublime-syntax file is loaded automatically when being placed within ~/.config/sublime-text/Packages (see: Preferences > Browse Packages… ). You can either create a dedicated folder or place it in your User package.

“index_exclude_patterns” : ["*.log"] means, ST won’t look for symbols in those files.

0 Likes