On 2009-09-10, John Little wrote:
> >     au BufWinEnter * if &ft == "" | set ft=verilog | endif
> 
> BTW, Gary, the :setfiletype command has the "only set if not already
> set" logic in it; so wouldn't
> 
>     au BufWinEnter * setf verilog
> 
> be simpler?

Good point.  I didn't think about that distinction when I wrote
that.  Thanks.

Regards,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui