]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/pov.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / pov.yaml
1 filetype: pov
2
3 detect: 
4     filename: "\\.(pov|POV|povray|POVRAY)$"
5
6 rules:
7     - preproc: "^[[:space:]]*#[[:space:]]*(declare)"
8     - statement: "\\b(sphere|cylinder|translate|matrix|rotate|scale)\\b"
9     - statement: "\\b(orthographic|location|up|right|direction|clipped_by)\\b"
10     - statement: "\\b(fog_type|fog_offset|fog_alt|rgb|distance|transform)\\b"
11     - identifier: "^\\b(texture)\\b"
12     - identifier: "\\b(light_source|background)\\b"
13     - identifier: "\\b(fog|object|camera)\\b"
14     - symbol.operator: "(\\{|\\}|\\(|\\)|\\;|\\]|\\[|`|\\\\|\\$|<|>|!|=|&|\\|)"
15     - special: "\\b(union|group|subgroup)\\b"
16     - comment: "//.*"
17     - comment:
18         start: "/\\*"
19         end: "\\*/"
20         rules: []
21