Wednesday, February 25, 2015

Re: vim 74 compiled and wrong runtimepath ?

Thanks for the answer, indeed, I forgot the helptags
command.

On 02/24/2015 07:35 PM, Gary Johnson wrote:
> On 2015-02-24, aRkadeFR wrote:
>> Hello,
>>
>> I wanted to compile my vim in order to get the python option.
>>
>> I downloaded vim74 from http://www.vim.org/sources.php and
>> then in /usr/local/opt/vim74 I configure like this:
>> ./configure --with-features=huge --enable-pythoninterp
>> --prefix=/usr/local/opt
>> make -j10
>> make install
>>
>> Then with an empty vimrc (but existing) and a ~/.vim/doc/NERD_tree.txt,
>> I launch the vim like so: /usr/local/opt/bin/vim
>> Inside vim now, I have the right runtimepath:
>> /home/arkadefr/.vim,/usr/local/opt/share/vim/vimfiles,/usr/local/opt/share/vim/vim74,/usr/local/opt/share/vim/vimfiles/after,/home/arkadefr/.vim/after
>>
>> but even a :help NERDTree doesnt work.
> Did ":help NERDTree" work before you compiled your own version? You
> may just need to build a helptags file for your local help files by
> executing
>
> :helptags ~/.vim/doc
>
>> I try to include a ~/.vim/plugin/python.vim but even if it is read on
>> the startup, it is not applied when I open a python file :( Even worse
>> it set variables like "set noexpandtab" even though the filetype is
>> right.
> If you expect your python.vim file to be sourced as a filetype
> plugin when you open a Python file, you need to put it in the
> directory for filetype plugins, ~/.vim/ftplugin.
>
> Regards,
> Gary
>

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: