On Mar 10, 1:52 pm, yorams70 <[email protected]> wrote: > It looks that you gave me a good direction because the :set ft=verilog > does work. > > But I am not satisfied yet because I put > filetype plugin indent on > on my .vimrc & .gvimrc and it does not help. >
This should work. Are you using a non-standard file extension or anything? By default, Vim will recognize *.v files as verilog once you have "filetype plugin indent on" in your .vimrc (it is not needed in your .gvimrc as well). > And another thing that you can educate me: > How does the vim understand that this script should be loaded > only when ft=verilog? Because it is placed in the ftplugin directory, and the name starts with "verilog_". > The string 'ft' does not exist in the script. > I would prefer that the vim will load this script on every > file that I open, but I dont know how to do it. > http://vim.wikia.com/wiki/File_type_plugins Also, please bottom-post to this list, as I have done. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
