On Thu, Sep 6, 2012 at 10:21 PM, Benjamin R. Haskell <[email protected]> wrote:

> On Thu, 6 Sep 2012, Richard Brown wrote:
>
>  Hi, this patch does what it says on the tin. If a .sh file starts with
>> #!/bin/zsh it will set the filetype to zsh
>>
>
> This should be unnecessary, as it's already done by
> $VIMRUNTIME/scripts.vim:
>
> http://code.google.com/p/vim/**source/browse/runtime/scripts.**vim#79<http://code.google.com/p/vim/source/browse/runtime/scripts.vim#79>


".sh" is a matched in filetype.vim, so scripts.vim is never called.

http://code.google.com/p/vim/source/browse/runtime/filetype.vim#2400


-- 
Richard Brown

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

Raspunde prin e-mail lui