mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-09 08:30:23 +09:00
This changes all the syntax files in the runtime directory and also changes how syntax highlighting is done from inside micro.
11 lines
311 B
YAML
11 lines
311 B
YAML
filetype: html
|
|
|
|
detect:
|
|
filename: "\\.htm[l]?$"
|
|
|
|
rules:
|
|
- identifier: "<.*?>"
|
|
- special: "&[^;[[:space:]]]*;"
|
|
- statement: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
|
- constant: "\"[^\"]*\"|qq\\|.*\\|"
|
|
|