added vim syntax for comments, added sample comments to scene file
git-svn-id: svn://anubis/fart/branches/parser-comments@294 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
a4e85f8eff
commit
01671e9486
2 files changed
+5
No files matched your search
@@ -13,9 +13,11 @@ syn case match
|
||||
syn keyword fartKeywords ambient ambient_occlusion color define diffuse exposure height jitter look_at material max_depth multisample ngon offset polygon position radius reflectance rotate scale shininess size specular translate transparency union up vfov width
|
||||
syn keyword fartObjects box camera cyl extrude intersect light options plane scene shape sphere subtract union
|
||||
syn match fartNumber "\(^\|\W\)\@<=[+-]\=\(\d\+\)\=\.\=\d\+\([eE][+-]\=\d\+\)\="
|
||||
syn match fartComment "#.*"
|
||||
|
||||
hi def link fartKeywords Operator
|
||||
hi def link fartObjects Type
|
||||
hi def link fartNumber Number
|
||||
hi def link fartComment Comment
|
||||
|
||||
let b:current_syntax = "fart"
|
||||
Reference in new issue
Block a user