Hi there,
I need to find a way to detect if a syntax file is available/installed when using view.set_syntax_file(syntax) for this plugin: github.com/Cacodaimon/GhostText-for-SublimeText .
Because I want’s to inform the user if her/his sublime text installation does not have the syntax file or when she/he misspelled it’s name.
Which is the best way to archive this?
Thanks in advance!