Ⅰ. 插件描述
SystemVerilog vim scriptsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'nachumk/systemverilog-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'nachumk/systemverilog-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'nachumk/systemverilog-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/nachumk/systemverilog.vim
Ⅳ. 文档说明
systemverilog.vim
SystemVerilog indent and syntax scripts
Pathogen Install
Pathogen is supported by putting the systemverilog.vim folder under the bundle directory.
Install by cloning repository:
git clone git://github.com/nachumk/systemverilog.vim ~/.vim/bundle/systemverilog.vim
Install from tarball:
Download tarball:
https://github.com/nachumk/systemverilog.vim/archive/master.zip
Extract files:
unzip ~/Downloads/systemverilog.vim-master.zip -d ~/.vim/
Rename directory:
mv ~/.vim/systemverilog.vim-master ~/.vim/systemverilog.vim
Standard Install
Install from tarball
Download tarball:
https://github.com/nachumk/systemverilog.vim/archive/master.zip
Extract files:
unzip -j ~/Downloads/systemverilog.vim-master.zip systemverilog.vim-master/ftdetect/systemverilog.vim -d ~/.vim/ftdetect
unzip -j ~/Downloads/systemverilog.vim-master.zip systemverilog.vim-master/indent/systemverilog.vim -d ~/.vim/indent
unzip -j ~/Downloads/systemverilog.vim-master.zip systemverilog.vim-master/syntax/systemverilog.vim -d ~/.vim/syntax