The issue seems to be solved. Please refer to this fix.
Why I had problems with syntax settings(.tmLanguage) in ST3?
Because it is totally confusing and not clear from ST3 docs where that file should be located.
(Even if it says that files lookup is continued in Packages
directory if file was not found in Installed Packages
).
There are two 'main' folders under Sublime Text 3
directory: Installed Packages
and Packages
.
When the plugin is installed using Package Control it goes into Installed Packages
directory packed into archive file called like Robot Framework Assistant.sublime-package
(which is actually ZIP file).
The robot.tmLanguage
file (syntax file) is inside Robot Framework Assistant.sublime-package
.
So, in few words, my question was: how to refer to that file (what path should be provided to view.set_syntax_file
method)?
Unintuitive, but I should refer to non-existent path Packages/Robot Framework Assistant/robot.tmLanguage
. Actually, in my case the Packages
directory contains only Users
folder. The only thing, that I can guess is that folder name should be the same as package name(Robot Framework Assistant
in my case).