mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 06:17:12 +09:00
File diff suppressed because one or more lines are too long
@@ -18,10 +18,10 @@ rules:
|
||||
- comment: "<!--.+?-->"
|
||||
- default: "<\\?(php|=)\" end=\"\\?>"
|
||||
- identifier.class: "([a-zA-Z0-9_-]+)\\("
|
||||
- preproc: "\\b(require|include)(_once)?)\\b"
|
||||
- preproc: "\\b(require|include)(_once)?\\b"
|
||||
- type: "\\b(var|class|extends|function|echo|case|default|exit|switch|extends|as|define|do|declare|in|trait|interface|[E|e]xception|array|int|string|bool|iterable|void)\\b"
|
||||
- identifier.class: "[a-zA-Z\\\\]+::"
|
||||
- identifier: "([A-Z][a-zA-Z0-9_]+)\\s"
|
||||
- identifier: "\\b([A-Z][a-zA-Z0-9_]+)\\b"
|
||||
- identifier: "([A-Z0-9_]+)[;|\\s|\\)|,]"
|
||||
- type.keyword: "(global|public|private|protected|static|const)"
|
||||
- statement: "(implements|abstract|instanceof|if|else(if)?|endif|namespace|use|as|new|throw|catch|try|while|print|(end)?(foreach)?)\\b"
|
||||
|
||||
Reference in New Issue
Block a user