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