Installing vim with ruby support (+ruby)

后端 未结 13 2028
萌比男神i
萌比男神i 2020-12-04 07:37

I\'m trying to get command-t installed for vim but my current version of vim doesn\'t have the (+ruby) flag. The command \"which ruby\" shows that ruby is installed.

13条回答
  •  有刺的猬
    2020-12-04 07:53

    Pulling the vim source using Mercurial and changing into the directory will give you the ability to configure your vim install before you compile it.

    hg clone https://vim.googlecode.com/hg/ vim
    cd vim
    ./configure --enable-rubyinterp
    

    The --enable-xxinterp option can be used for Python, Perl, or any other language that Vim will support. Just type it in where the xx is and it will work.

    Running the help option with the configure command will allow you to see all of the configuration options.

    ./configure --help
    

提交回复
热议问题