mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 07:37:13 -04:00
Many optimizations and new syntax files
This commit is contained in:
+5
-4
@@ -26,7 +26,7 @@ rules:
|
||||
# Character literals
|
||||
- constant.string:
|
||||
start: "'"
|
||||
end: "'"
|
||||
end: "(?<!\\\\)'"
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
# Keywords
|
||||
@@ -52,13 +52,13 @@ rules:
|
||||
# DoubleQuotedString
|
||||
- constant.string:
|
||||
start: "\""
|
||||
end: "\""
|
||||
end: "(?<!\\\\)\""
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
# WysiwygString
|
||||
- constant.string:
|
||||
start: "r\""
|
||||
end: "\""
|
||||
end: "(?<!\\\\)\""
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
- constant.string:
|
||||
@@ -69,7 +69,7 @@ rules:
|
||||
# HexString
|
||||
- constant.string:
|
||||
start: "x\""
|
||||
end: "\""
|
||||
end: "(?<!\\\\)\""
|
||||
rules:
|
||||
- constant.specialChar: "\\\\."
|
||||
# DelimitedString
|
||||
@@ -116,3 +116,4 @@ rules:
|
||||
start: "/\\+"
|
||||
end: "\\+/"
|
||||
rules: []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user