Ⅰ. 插件描述
SystemC modeling support for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kocha/vim-systemc'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kocha/vim-systemc'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kocha/vim-systemc'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kocha/vim-systemc
Ⅳ. 文档说明
==============================================================================
INTRODUCTION
These scripts do the syntax highlighting for SystemC files.
(In the future, various functions are added.)
==============================================================================
USAGE
If the syntax of the file is detected to be cpp, the first
50 lines are scanned for some systemc specific keywords. If
found, systemc highlighting is added, else the normal cpp
highlighting is left
==============================================================================
INSTALL
github repository:
http://github.com/Kocha/vim-systemc
For Windows:
- Copy
after/syntax/cpp.vim to $VIMRUNTIME/../vimfiles/after/syntax/
Create the directory if it doesn't exist - Copy
plugin/systemc.vim to $VIMRUNTIME/../vimfiles/plugin
Create the directory if it doesn't exist
For Unix:
- Copy
after/syntax/cpp.vim to $HOME/.vim/after/syntax/
Create the directory if it doesn't exist - Copy
plugin/systemc.vim to $HOME/.vim/plugin
Create the directory if it doesn't exist
==============================================================================
REFERENCE
1) IEEE1666-2011 (http://www.accellera.org/)