PATCH: default installation directories

Hugh Sasse hgs at dmu.ac.uk
Tue Aug 16 05:24:58 EDT 2005


On Tue, 16 Aug 2005, Doug Kearns wrote:

> On Mon, Aug 15, 2005 at 04:29:36PM +0100, Hugh Sasse wrote:
>> On Tue, 16 Aug 2005, Doug Kearns wrote:
>>
>>> This is just a quick patch to use $VIM/vimfiles and
>>> $HOME/{.vim,vimfiles} rather than $VIMRUNTIME as the two default
>>> installation directories offered by vim-ruby-install.rb.
>>
>> Looks like what I'd wish for.  I'll `cvs update -d` and try this.
>
> I thought you'd be glued to the cricket Hugh? ;-)

Many are, but not me.
>
>>> -      end
>>> -    end
>>> -      # 3. We don't get here; every path contains a return statement.
>>> +    entered_directory = Env.ask_user "Please enter the full path to your
>>> Vim installation directory: "
>>> +    entered_directory = File.expand_path(entered_directory)
>>> +    return entered_directory
>>> +      # 4. We don't get here; every path contains a return statement.
>>>  end
>>
>> Isn't the statement # 4 redundant now that it is *straight after* a
>> return statement?
>
> Yes.

OK.  It occurs to me that the user could supply something
unreachable, so I'll have a look at that as I get chance.
>
>> (I suppose it should have been a raise or assert before, but
>> still....)
>
> Regards,
> Doug

         Hugh


More information about the vim-ruby-devel mailing list