mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 07:00:24 +09:00
Raku syntax: fix comments (#2318)
Code:
# sub xyz(Str is encoded("utf8")) returns int32 is native("asdf") { * }
This commit is contained in:
committed by
GitHub
parent
a2d83132ca
commit
3a1ec088e2
@@ -12,10 +12,6 @@ rules:
|
||||
- identifier: "[$@%&](\\.|!|^)?([[:alpha:]]|_)([[:alnum:]]|-|_)*([[:alnum:]]|_)"
|
||||
- identifier: "[$@%&](\\?|\\*)([A-Z])([A-Z]|-)*([A-Z])"
|
||||
|
||||
- comment: "#\ [^`|=]*"
|
||||
- comment: "#[:alnum:].*"
|
||||
- comment: "^#!/.*"
|
||||
|
||||
- constant.string:
|
||||
start: "\""
|
||||
end: "\""
|
||||
@@ -40,3 +36,7 @@ rules:
|
||||
end: "EOSQL"
|
||||
rules: []
|
||||
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
|
||||
Reference in New Issue
Block a user