systemverilog.vim : Indent & syntax script for Verilog and SystemVerilog
| script karma
Downloaded by 1253
Comments, bugs, improvements
script versions (upload new version)
|This script is maintained on github at:
Installation instructions for Pathogen can be found here: https://github.com/nachumk/systemverilog.vim#pathogen-install.
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: 22.214.171.124