std_c.zip


Ⅰ. 插件描述

A Standard C syntax file.

Ⅱ. 基本信息

创建日期:  2003-06-05
使用用户:  66
Github星:  2
插件作者:  Mike Williams

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/std-c-zip'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/std-c-zip'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/std-c-zip'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/std_c.zip

Ⅳ. 文档说明

This C syntax file is to help developing portable Standard C code.  That is C code that has to be able to compile on many different compilers.  The default is to highlight C89 C code, but it can be configured to allow or flag as an error C94 and C99 language features (types, constants, etc.)

Additional non-standard C features can be allowed - C++ comments, GNU C keywords, $ in identitfiers for VMS C, etc.

The syntax file also has the following benefits:

o more language elements highlighted (e.g. function and identifier names)
o more syntax errors highlighted, and
o better highlighting of macros.

Details of all configuration options are documented in the supplied help file.

More detail can be found at http://www.eandem.co.uk/mrw/vim/syntax/index.html#ansic

添加新评论