James McCoy wrote:

> filetype.vim contains the following:
> 
>  485 au BufNewFile,BufRead *.com                      call 
> dist#ft#BindzoneCheck('dcl')¶
>   …
> 1954 au BufNewFile,BufRead 
> */etc/apache2/*.conf*,*/etc/apache2/conf.*/*,*/etc/apache2/mods-*/*,*/etc/apache2/sites-*/*,*/etc/httpd/conf.d/*.conf*
>              call s:StarSetf('apache')¶
> 
> It's not uncommon for apache configuration, especially those under
> sites-*/*, to use a filename that matches *.com.  In that case, the dcl
> filetype will be set rather than apache.

So, how do you propose we solve that?  Perhaps:

au BufNewFile,BufRead */etc/apache2/sites-*/*.com       setf apache

-- 
Computers are not intelligent.  They only think they are.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui