sponsor Vim development Vim logo Vim Book Ad

polycl.vim : Polyhedra CL syntax

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

created by
Olivier Mengué
script type
CL is the programming language of stored procedures embedded in the Polyhedra database.
For more information about Polyhedra, see: http://www.enea.com/templates/Extension____259.aspx

This script provides syntax highlighting and folding for this language.

See also vimscript#1799: Polyhedra configuration syntax
install details
Save into your personnal syntax directory: $HOME/{.vim|vimfiles}/syntax ({Unix|Windows}).

To manually colorize a file:
  :syntax on
  :filetype on
  :set filetype=polycl

To assign CL syntax to a particular file, put this line at the beginning or end of your code:
  -- vim: set filetype=polycl :

To assign CL syntax to files *.cl, add this to your ~/{.vim|vimfiles}/filetype.vim:
  augroup filetypedetect
    au! BufNewFile,BufRead *.cl setf polycl
  augroup END

See also the built-in help in Vim:
    :help 'filetype'
    :help 'modeline'
    :help filetype-plugin
    :help mysyntaxfile

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
polycl.vim 0.9.1 2007-02-15 6.0 Olivier Mengué Major fixes (typos).
Fixed string escapes.
Started highlighting of operators and split of reserved word in multiple classes.
polycl.vim 0.9 2007-01-27 6.0 Olivier Mengué Initial upload
ip used for rating:

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.