PATCH: default installation directories

Hugh Sasse hgs at dmu.ac.uk
Mon Aug 15 11:29:36 EDT 2005


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.

> -      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?  (I suppose it should have been a raise or assert
before, but still....)

         Hugh


More information about the vim-ruby-devel mailing list