micro/runtime/syntax/pov.yaml
Yevhen Babiichuk (DustDFG) 426e6c600f
Fix trailing spaces/tabs in yaml syntax files (#3200)
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-03-22 17:56:09 +01:00

22 lines
717 B
YAML

filetype: pov
detect:
filename: "\\.(pov|POV|povray|POVRAY)$"
rules:
- preproc: "^[[:space:]]*#[[:space:]]*(declare)"
- statement: "\\b(sphere|cylinder|translate|matrix|rotate|scale)\\b"
- statement: "\\b(orthographic|location|up|right|direction|clipped_by)\\b"
- statement: "\\b(fog_type|fog_offset|fog_alt|rgb|distance|transform)\\b"
- identifier: "^\\b(texture)\\b"
- identifier: "\\b(light_source|background)\\b"
- identifier: "\\b(fog|object|camera)\\b"
- symbol.operator: "(\\{|\\}|\\(|\\)|\\;|\\]|\\[|`|\\\\|\\$|<|>|!|=|&|\\|)"
- special: "\\b(union|group|subgroup)\\b"
- comment: "//.*"
- comment:
start: "/\\*"
end: "\\*/"
rules: []