syntax for verilog 2001


Ⅰ. 插件描述

set vim for verilog

Ⅱ. 基本信息

创建日期:  2016-10-09
使用用户:  0
Github星:  0
插件作者:  homway cheng

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone 

Ⅳ. 文档说明

au BufNewFile,BufRead *.vt set filetype=verilog
set fileencodings=utf8
set fileformat=unix
syntax on
set nu
set ruler
set shortmess=atI
set expandtab  
set smarttab  
set shiftwidth=4  
set tabstop=4

map <F3> :s/s+$//<CR>                             "delete line space
map <F4> :s/s+$//<CR>:wq<CR>               "delete line space save and quit
map! <F1> //                                                 "mark

"automatic completion symbol
inoremap ( ()<ESC>i        
inoremap [ []<ESC>i
inoremap { {}<ESC>i
inoremap < <><ESC>i

添加新评论