sponsor Vim development Vim logo Vim Book Ad

Test::Base syntax : Test::Base spec syntax hilighting

 script karma  Rating 0/0, Downloaded by 645  Comments, bugs, improvements  Vim wiki

created by
yuichi tateno
 
script type
syntax
 
description
testbase.vim is Test::Base spec syntax hilighting.

ScreenShot: http://f.hatena.ne.jp/images/fotolife/s/secondlife/20061117/20061117163415.png
  
: installation
   This script cp ~/.vim/syntax/testbase.vim
   and write file detect file ~/.vim/ftdetect/testbase.vim
      au BufNewFile,BufRead *_test.rb set filetype=ruby | unlet b:current_syntax | syn include @rubyTestBase syntax/testbase.vim | syn region rubyTestBase matchgroup=rubyData start="^__END__$" keepend end="\%$" contains=@rubyTestBase
      au BufNewFile,BufRead *.t set filetype=perl | unlet b:current_syntax | syn include @perlTestBase syntax/testbase.vim | syn region perlTestBase matchgroup=perlData start="^__\(DATA\|END\)__$" keepend end="\%$" contains=@perlTestBase
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
testbase.vim 0.1 2006-11-16 6.0 yuichi tateno Initial upload
ip used for rating: 44.200.175.255

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN