Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #by default the new file will use this syntax
- import sublime
- import sublime_plugin
- class EverythingIsSQL(sublime_plugin.EventListener):
- def on_new(self, view):
- view.set_syntax_file('Packages/SQL/SQL.sublime-syntax')
- #Save as " \Data\Packages\User"
- #My example path /home/username/.config/sublime-text-3/Packages/DefaultLanguage.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement