This commit is contained in:
Leandro Afonso
2025-09-27 18:39:59 +01:00
commit f0cdef9259
1220 changed files with 77975 additions and 0 deletions

21
micro/syntax/pov.yaml Normal file
View File

@@ -0,0 +1,21 @@
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: []