proc.vim : Oracle Pro*C/C++ syntax file
script karma |
Rating 61/28,
Downloaded by 2786 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michael Jarvis |
|
script type |
syntax |
|
description |
7-May-2004 Note: I have recently learned that this syntax is redundant. You can get the same functionality with esqlc.vim in the standard distribution.
This is a start towards a customization of the C++ syntax, for code that uses the Oracle Pro*C/C++ precompiler code. Essentially it loads up the C++ syntax file, and then does additional highlighting of text that begins with EXEC SQL.
|
|
install details |
Drop this file into your $HOME/.vim/syntax directory, and then set up the new filetype for *.pc to load proc.vim. What I did was create the file $HOME/.vim/filetype.vim with these contents:
if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile *.pc setfiletype proc
augroup END
You can execute ":help new-filetype" for more information.
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.138.124.167
|