sponsor Vim development Vim logo Vim Book Ad

verilog.vim : Automated indentation for Verilog and SystemVerilog

 script karma  Rating 37/20, Downloaded by 3942  Comments, bugs, improvements  Vim wiki

created by
Lex Leonard
 
script type
indent
 
description
This script provides indentation rules for Verilog and SystemVerilog constructs. Indentation scripts like this sometimes require changing your coding style a bit to match the limitations of the script. This one, for example, can only look back one or two lines. You'll need to use begin and end statements for any non-sectional block that has more than one line (like "always" as opposed to "task"). I've been using and improving this script for years now, so I expect there will always be a way to organize your syntax for compatibility with this script.
 
install details
Put the file in ~/.vim/indent
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
verilog.vim 1.1 2019-03-27 7.0 Lex Leonard Minor improvements
verilog.vim 1.0 2014-10-22 7.0 Lex Leonard Initial upload
ip used for rating: 44.220.184.63

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github