forked from micro-editor/micro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpov.yaml
More file actions
21 lines (18 loc) · 718 Bytes
/
pov.yaml
File metadata and controls
21 lines (18 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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: []