Support for Sublime Text YAML syntax definitions

Sublime Text YAML syntax definitions use the .sublime-syntax file extension

Most syntax files declare a YAML 1.2 syntax although they are YAML 1.1 compatible
Thus, the YAML version header is stripped off before parsing
Displays a warning if parsing fails

In .sublime-syntax files, the scope is under the 'scope' key -- as opposed to the usual 'scopeName' key
This commit is contained in:
Paul Chaignon
2016-06-26 19:30:23 +02:00
parent 5ac2cdde50
commit 4a031107ac
3 changed files with 18 additions and 7 deletions