polycl.vim : Polyhedra CL syntax
script karma |
Rating 0/0,
Downloaded by 1023 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Olivier Mengué |
|
script type |
syntax |
|
description |
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
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 52.14.145.78
|