]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/html.yaml
Use new syntax highlighting engine from zyedidia/highlight
[micro.git] / runtime / syntax / html.yaml
1 filetype: html
2
3 detect:
4     filename: "\\.htm[l]?$"
5
6 rules:
7     - identifier: "<.*?>"
8     - special: "&[^;[[:space:]]]*;"
9     - statement: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
10     - constant: "\"[^\"]*\"|qq\\|.*\\|"
11