diff options
| author | Zach DeCook <zach.decook@bettercarpeople.com> | 2024-09-03 11:26:00 -0400 |
|---|---|---|
| committer | Zach DeCook <zach.decook@bettercarpeople.com> | 2024-09-03 11:26:00 -0400 |
| commit | d533ae56a13adc13aed6dedbc1f631cef58ca7e6 (patch) | |
| tree | 0f6a94cd858690eaf4607330c7cd08ef20f56452 /.config | |
| parent | fb86dedd548f283e2df17c0279ec1f7b2c9d3e83 (diff) | |
| download | dotfiles-d533ae56a13adc13aed6dedbc1f631cef58ca7e6.tar.gz | |
micro syntax: change syntax in nowdocs
Diffstat (limited to '.config')
| -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" + |
