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.

And another thing that you can educate me:
How does the vim understand that this script should be loaded
only when ft=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.

Thanks alot!


On Mar 10, 6:15 pm, Ben Fritz <[email protected]> wrote:
> On Mar 10, 8:07 am, yorams70 <[email protected]> wrote:
>
> > Hi.
> > I am trying to install vim script: verilog_emacsauto.vim 
> > fromhttp://www.vim.org/scripts/script.php?script_id=1875
> > The script runs ok when I load it manually from the gvim gui.
>
> > However I did not succeed to install it.
>
> > The script description says:
> > install details
> > Download this script and put it in your ~/.vim/ftplugin/ directory,
> > creating the directories if necessary.
>
> > I did so - but it did not help.
>
> > Do you have a clue?
>
> This is apparently an filetype plugin, which means you need to enable
> filetype detection and plugins in your .vimrc with:
>
> filetype plugin indent on
>
> or similar.
>
> If you already have this, then you need to know that the plugin is
> only loaded for files of the appropriate type: verilog in this case.
> It should automatically load for existing verilog files, but you may
> need to set the filetype manually for new files:
>
> :set ft=verilog
>
> We're currently debating how best on the wiki to provide an
> installation aid for just such problems as this. See the discussion
> at:
>
> http://vim.wikia.com/wiki/Working_with_R_Project_for_Statistical_Comp...
>
> Current ideas include a link at the top of the wiki's "Script:" page,
> or using a category for each plugin type. Please feel free to comment!

-- 
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

Reply via email to