sponsor Vim development Vim logo Vim Book Ad

clearsilver : syntax files for *.cs and *.hdf

 script karma  Rating 10/10, Downloaded by 1086  Comments, bugs, improvements  Vim wiki

created by
culley harrelson
 
script type
syntax
 
description
These are syntax files for managing clearsilver templates (see http://clearsilver.net).  cs.vim will add formatting to <?cs ... ?> embedded in html syntax (it depends on runtime! syntax/html.vim).  hdf.vim is syntax highlighting for Hierarchical Data Format (HDF) files.

cs.vim conflicts with the C# .cs extention.  So if you are also using vim to edit C# files you will have to... figure it out.
 
install details
cp clearsilver.vim ~/.vim
cd ~/.vim
tar -xf clearsilver.vim

this will put two files in ~/.vim/syntax

You also need to update ~/.vim/filetype.vim with:

if exists("did_load_myfiletypes")
finish
endif
let did_load_myfiletypes= 1

augroup filetypedetect
au BufNewFile,BufReadPost *.hdf setf hdf
au BufNewFile,BufReadPost *.cs setf cs
augroup END
 

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
clearsilver.tar .01 2004-10-08 6.0 culley harrelson Initial upload
ip used for rating: 107.23.85.179

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.
   
Vim at Github