sponsor Vim development Vim logo Vim Book Ad

cflow output colorful : to analyze the source codes more effectively by using GNU cflow

 script karma  Rating 37/22, Downloaded by 1569  Comments, bugs, improvements  Vim wiki

created by
Yang Zhang
 
script type
syntax
 
description
Regard cflow's output as a new language, thus we could highlight it's output to analyze the source code. so the file name suffix should be ".cflow", just like "cflow -o xxx.cflow"


The snapshot has been in the tarball

SNAPSHOT:
cyan -- functions defined ourself
purple -- variables defined ourself
red -- system functions
black -- system symbols
yellow -- file name
green -- type keywords in C
white -- something else
orange(fg) -- number
orange(bg) -- recursive functions


Enjoy it

 
install details
STEP 1:
add "au BufNewFile,BufRead *.cflow setf cflow" in u ~/.vimrc

STEP 2:
move cflow.vim to ~/.vim/syntax
 

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
cflow_highlight_1.3.tgz 1.3 2010-01-31 7.0 Yang Zhang newest snapshot also

keyword bugs fixed
cflow_highlight_1.2.tgz 1.2 2010-01-31 7.0 Yang Zhang snapshot including

fixed bugs
cflow_highlight_1.1.tgz 1.1 2010-01-30 7.0 Yang Zhang 1. also including a snapshot

2. add highlight features about GNU cflow's recursive funcion output

3. has included almost all symbols in C89/C99 standard libs'n unistd.h,
   so this version could seperate the user symbol'n sys symbol more clearly

4. fixed some bugs
cflow_highlight.tgz 1.0 2010-01-29 7.0 Yang Zhang no comment
ip used for rating: 216.73.216.107

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github