Following the manual, I wrote a simple .sublime-syntax file. But now I do not know what to do next. How do I upload it to the SublimeText?
Looking for a way to add some highlighting in a Plain Text files
mg979
#2
Apply it to a view with view.settings().set("syntax", your_syntax). This works from the console but in a script it may look different.
your_syntax should be the path(I think), like "Packages/User/your_syntax.sublime-syntax".
0 Likes
kingkeith
#3
if you’ve saved it in your User package, it will show up in the syntax selection menu. If you have multiple .sublime-syntax files in your User package, it will appear under a User submenu.
0 Likes