sponsor Vim development Vim logo Vim Book Ad

c.vim : Highlight more syntax items of C program

 script karma  Rating 17/7, Downloaded by 1443  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.
 

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
c.zip 1.0 2014-02-15 7.0 Liu Zemin Initial upload
ip used for rating: 3.145.206.169

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.
   
Vim at Github