mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 07:00:24 +09:00
syntax: Add the empty rules: [] to the files currently "missing" them
This commit is contained in:
@@ -34,11 +34,13 @@ rules:
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
|
||||
# multiline strings do not support escape sequences
|
||||
- constant.string:
|
||||
start: "'''"
|
||||
end: "'''"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "'"
|
||||
|
||||
@@ -15,6 +15,7 @@ rules:
|
||||
- constant.string:
|
||||
start: "\""
|
||||
end: "\""
|
||||
rules: []
|
||||
# Integer Constants
|
||||
- constant.number: "\\b([0-9]+)\\b"
|
||||
- constant.number: "\\b(0x[0-9a-fA-F]+)\\b"
|
||||
|
||||
@@ -25,6 +25,7 @@ rules:
|
||||
- constant:
|
||||
start: "[$]([!@&`'+~=/\\\\,;.<>*$?:\"_]|-[A-Za-z0-9_]|[0-9]+)"
|
||||
end: "\\B|\\b"
|
||||
rules: []
|
||||
# Ruby "Symbols"
|
||||
- constant: "(i?)([ ]|^):[0-9A-Z_]+\\b"
|
||||
- constant: "\\b(__FILE__|__LINE__)\\b"
|
||||
|
||||
Reference in New Issue
Block a user