systemverilog.vim : Indent & syntax script for Verilog and SystemVerilog
| script karma
Downloaded by 241
Comments, bugs, improvements
script versions (upload new version)
|These scripts indent and highlight SystemVerilog. It is set to load for Verilog and SystemVerilog files.
Comments are not touched! No indent is done on comments at all. Don't attempt to comment in the middle of a block comment, it won't know that it is a comment and therefore it will attempt to indent.
Two single line statements that have no begin are indented the same:
c = 1;
will actually indent as:
c = 1;
This is because it is not easy to detect infinitely long indents of this sort. By using this convention this type of code can be indented properly.
|Copy ftdetect/systemverilog.vim to <home>/.vim/ftdetect/systemverilog.vim
Copy indent/systemverilog.vim to <home>/.vim/indent/systemverilog.vim
Copy syntax/systemverilog.vim to <home>/.vim/syntax/systemverilog.vim
Click on the package to download.
ip used for rating: 184.108.40.206