c.vim : Highlight more syntax items of C program
| script karma
Downloaded by 407
Comments, bugs, improvements
script versions (upload new version)
|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.
|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.
Click on the package to download.
ip used for rating: 188.8.131.52