Sublime Forum

Is it `assign_syntax` or `set_syntax_file`?

#1

Hi :wave:!

In SublimeLinter we use assign_syntax, in GitSavvy always set_syntax_file. Is there any difference actually? assign_syntax isn’t even in the official docs but the docs aren’t complete anyway.

0 Likes

#2

set_syntax_file is deprecated iirc. They are exactly the same though.

sublime.py
image

1 Like

#3

LOL, that deprecation didn’t go that far.

0 Likes