diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-09-28 22:18:09 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-09-28 22:18:09 +0200 |
commit | 27903c5b8656c796564ef073c1ebe77a2f0154e1 (patch) | |
tree | 2b0a3a14494d7976fb79a7517706e25d2a95d080 /syntax/rib.vim | |
parent | d5e38fa97bc50a93a66473d6cd7072fbcbadda57 (diff) | |
download | vim-polyglot-27903c5b8656c796564ef073c1ebe77a2f0154e1.tar.gz vim-polyglot-27903c5b8656c796564ef073c1ebe77a2f0154e1.zip |
Revert inlining basic language packv3.0.0
Diffstat (limited to 'syntax/rib.vim')
-rw-r--r-- | syntax/rib.vim | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/syntax/rib.vim b/syntax/rib.vim deleted file mode 100644 index 0b8c0b3f..00000000 --- a/syntax/rib.vim +++ /dev/null @@ -1,66 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 - -" Vim syntax file -" Language: Renderman Interface Bytestream -" Maintainer: Andrew Bromage <ajb@spamcop.net> -" Last Change: 2003 May 11 -" - -" quit when a syntax file was already loaded -if exists("b:current_syntax") - finish -endif - -syn case match - -" Comments -syn match ribLineComment "#.*$" -syn match ribStructureComment "##.*$" - -syn case ignore -syn match ribCommand /[A-Z][a-zA-Z]*/ -syn case match - -syn region ribString start=/"/ skip=/\\"/ end=/"/ - -syn match ribStructure "[A-Z][a-zA-Z]*Begin\>\|[A-Z][a-zA-Z]*End" -syn region ribSectionFold start="FrameBegin" end="FrameEnd" fold transparent keepend extend -syn region ribSectionFold start="WorldBegin" end="WorldEnd" fold transparent keepend extend -syn region ribSectionFold start="TransformBegin" end="TransformEnd" fold transparent keepend extend -syn region ribSectionFold start="AttributeBegin" end="AttributeEnd" fold transparent keepend extend -syn region ribSectionFold start="MotionBegin" end="MotionEnd" fold transparent keepend extend -syn region ribSectionFold start="SolidBegin" end="SolidEnd" fold transparent keepend extend -syn region ribSectionFold start="ObjectBegin" end="ObjectEnd" fold transparent keepend extend - -syn sync fromstart - -"integer number, or floating point number without a dot and with "f". -syn case ignore -syn match ribNumbers display transparent "[-]\=\<\d\|\.\d" contains=ribNumber,ribFloat -syn match ribNumber display contained "[-]\=\d\+\>" -"floating point number, with dot, optional exponent -syn match ribFloat display contained "[-]\=\d\+\.\d*\(e[-+]\=\d\+\)\=" -"floating point number, starting with a dot, optional exponent -syn match ribFloat display contained "[-]\=\.\d\+\(e[-+]\=\d\+\)\=\>" -"floating point number, without dot, with exponent -syn match ribFloat display contained "[-]\=\d\+e[-+]\d\+\>" -syn case match - - -hi def link ribStructure Structure -hi def link ribCommand Statement - -hi def link ribStructureComment SpecialComment -hi def link ribLineComment Comment - -hi def link ribString String -hi def link ribNumber Number -hi def link ribFloat Float - - - -let b:current_syntax = "rib" - -" Options for vi: ts=8 sw=2 sts=2 nowrap noexpandtab ft=vim - -endif |