fix python syntax to prioritize multi liner comments

This commit is contained in:
Amr Tamimi
2017-03-23 11:27:44 +01:00
parent 41e9b0079d
commit eaf4eb2d63
2 changed files with 26 additions and 26 deletions
+12 -12
View File
@@ -29,18 +29,6 @@ rules:
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"
@@ -55,3 +43,15 @@ rules:
start: "'''"
end: "'''"
rules: []
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."