data: Added highlighting rules for Python

* fixed multiline highlights to work for any highlight type
* erase priority ranges contained within others
This commit is contained in:
Eberhard Graether
2019-02-03 15:53:40 +01:00
parent 03573abc3b
commit f7eb1fc160
5 changed files with 245 additions and 107 deletions
@@ -4,6 +4,11 @@
"patterns" : [ "\"([^\"]|\\\\.)*\"", "\'[^\']\'" ],
"priority" : true
},
{
"type" : "comment",
"patterns" : [ "//[^\n]*" ],
"priority" : true
},
{
"type" : "comment",
"range" : {
@@ -161,9 +166,5 @@
{
"type" : "quotation",
"patterns" : [ " <[^<>\\s]*>$" ]
},
{
"type" : "comment",
"patterns" : [ "//[^\n]*" ]
}
]