after/syntax/c.vim : C Syntax Extensions
script karma |
Rating 171/90,
Downloaded by 8830 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Mikhail Wolfson |
|
script type |
syntax |
|
description |
This file, instead of replacing the normal c.vim file, incorporates and improves upon some of the changes added in vimscript #1201, "Extended original c.vim." Because this file goes in $VIMRUNTIME/after/syntax, it appends these additional definitions to whatever c.vim file comes with the version of Vim you use.
The main additions identify operators, delimiters, and user-defined functions/function calls. Also included is a wealth of standard ANSI C function names as keywords. This makes C files look significantly richer, especially if your colorscheme includes color variants for the additional syntax groups.
The Match regexps for user-defined functions have been improved. The rest is mostly just selective porting from the c.vim in vimscript #1201. |
|
install details |
Place c.vim in $VIMRUNTIME/after/syntax. |
|
script versions (upload new version)
Click on the package to download.
c.vim |
0.4 |
2010-12-17 |
7.0 |
Mikhail Wolfson |
updates and fixes to cDelimiter to fix break with foldmethod=syntax, entirely suggested and solved by Ivan Freitas |
c.vim |
0.3 |
2010-04-23 |
7.0 |
Mikhail Wolfson |
updates and fixes to cUserFunctionPointer, thanks to Alexei <lxmzhv@gmail.com> |
c.vim |
0.2 |
2010-04-20 |
7.0 |
Mikhail Wolfson |
changed [] from cDelimiter to cOperator. |
c.vim |
0.1 |
2010-04-17 |
7.0 |
Mikhail Wolfson |
Initial upload |
ip used for rating: 3.236.112.101
|