c.vim : Highlight more syntax items of C program
script karma |
Rating 17/7,
Downloaded by 1516 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Liu Zemin |
|
script type |
syntax |
|
description |
This script contains two vim files: "c.vim" and "workpath.vim".
"workpath.vim" is used to set the current work path, which contains
source code you want to edit and relative tags file. It works together with
the other syntax script "c.vim". "c.vim" searches the tags file to identify
different syntax items, such as macros, typedefs, structs, enums, etc. So, if
you want to use the "c.vim" to highlight your C programs, you need to assign
the work path which contains the tags file of your C programs. |
|
install details |
1. Download the c.zip file and unzip the files to the $VIM/vimfiles directory.
After this step, you should have the following three files (the directory
structure should be preserved):
after/syntax/c.vim - syntax script for C language
plugin/workpath.vim - set tags file path for "c.vim"
doc/workpath.txt - documentation (help) file
2. Change to the $VIM/vimfiles/doc directory, and run the ":helptags ."
command to process the workpath help file. Without this step, you can not
jump to the workpath help topics.
3. Restart Vim. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.175
|