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:
@@ -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]*" ]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user