>
> Is there a cindent like function in vim that can indent verilog code?
I don't know if it's "cindent-like", but I see that (in the current 
version of the runtime files) there exists a 
$VIMRUNTIME/indent/verilog.vim. Therefore, if you make sure that your 
vimrc contains *öne* of
	filetype plugin indent on
or
	runtime vimrc_example.vim
or
	source $VIMRUNTIME/vimrc_example.vim
somewhere near the top, all your files (including verilog ones) will get 
automatic indentation.
If that is too much for you, and for most of your files you want _no_ 
automatic indentation, then use (untested)
	filetype plugin on
	filetype indent off
	auto FileType verilog runtime! indent/verilog.vim
Best regards,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
207. Your given you one phone call in prison and you ask them for a laptop.
-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment