personal dotfiles: my Hyprland config
Diffstat (limited to '.config/micro/syntax/php.yaml')
| -rw-r--r-- | .config/micro/syntax/php.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.config/micro/syntax/php.yaml b/.config/micro/syntax/php.yaml index 31e792b..8ffbb48 100644 --- a/.config/micro/syntax/php.yaml +++ b/.config/micro/syntax/php.yaml @@ -29,7 +29,7 @@ rules: - constant: "[\\s|=|\\s|\\(|/|+|-|\\*|\\[]" - constant.number: "[0-9]" - identifier: "(\\$this|parent|self|\\$this->)" - - symbol.operator: "(=>|===|!==|==|!=|&&|\\|\\||::|=|->|\\!)" + - symbol.operator: "(<=>|=>|===|!==|==|!=|&&|\\|\\||::|=|->|\\!)" - identifier.var: "(\\$[a-zA-Z0-9\\-_]+)" - symbol.operator: "[\\(|\\)|/|+|\\-|\\*|\\[|.|,|;]" # - constant.string: @@ -53,3 +53,15 @@ rules: - preproc: "<\\?(php|=)?" - preproc: "\\?>" - preproc: "<!DOCTYPE.+?>" + + - default: + start: "<<<SQL" + end: "SQL;" + rules: + - include: "sql" + - default: + start: "<<<XML" + end: "XML;" + rules: + - include: "xml" + |