Tuesday, February 24, 2015

Variable reset on new buffer [old] vim 74 compiled and wrong runtimepath

Ok, my problem is not about the help at all, sorry about
that. I completely forgot to run :helptags <dir>

Then for the runtime, a plugin broke cause some variables
(expandtab locally or not) are setup in a new buffer
now.

Sorry, and have a good one :)

On 02/24/2015 06:25 PM, 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.
>
> 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.
>
> What can I do in order to fix it? Did I compiled / configure it right?
>
> Thanks
>
> PS: I'm under a debian jessie
>
>
> My :version vim:
> :version
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 24 2015 17:50:31)
> Compiled by arkadefr@online-arkadefr-desktop
> Huge version with GTK2 GUI. Features included (+) or not (-):
> +arabic +cmdline_info -ebcdic +fork()
> +listcmds +mouse_netterm +persistent_undo +signs
> +terminfo +vreplace
> +autocmd +comments +emacs_tags +gettext
> +localmap +mouse_sgr +postscript +smartindent
> +termresponse +wildignore
> +balloon_eval +conceal +eval -hangul_input
> -lua -mouse_sysmouse +printer -sniff
> +textobjects +wildmenu
> +browse +cryptv +ex_extra +iconv
> +menu +mouse_urxvt +profile +startuptime
> +title +windows
> ++builtin_terms +cscope +extra_search +insert_expand
> +mksession +mouse_xterm +python +statusline
> +toolbar +writebackup
> +byte_offset +cursorbind +farsi +jumplist
> +modify_fname +multi_byte -python3 -sun_workshop
> +user_commands +X11
> +cindent +cursorshape +file_in_path +keymap
> +mouse +multi_lang +quickfix +syntax
> +vertsplit -xfontset
> +clientserver +dialog_con_gui +find_in_path +langmap
> +mouseshape -mzscheme +reltime +tag_binary
> +virtualedit +xim
> +clipboard +diff +float +libcall
> +mouse_dec +netbeans_intg +rightleft +tag_old_static
> +visual +xsmp_interact
> +cmdline_compl +digraphs +folding +linebreak
> -mouse_gpm +path_extra -ruby -tag_any_white
> +visualextra +xterm_clipboard
> +cmdline_hist +dnd -footer +lispindent
> -mouse_jsbterm -perl +scrollbind -tcl
> +viminfo -xterm_save
> system vimrc file: "$VIM/vimrc"
> user vimrc file: "$HOME/.vimrc"
> 2nd user vimrc file: "~/.vim/vimrc"
> user exrc file: "$HOME/.exrc"
> system gvimrc file: "$VIM/gvimrc"
> user gvimrc file: "$HOME/.gvimrc"
> 2nd user gvimrc file: "~/.vim/gvimrc"
> system menu file: "$VIMRUNTIME/menu.vim"
> fall-back for $VIM: "/usr/local/opt/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
> -pthread -I/usr/include/gtk-2.0
> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12
> -I/usr/include/gdk-pixbuf-2.0 -
> I/usr/include/libpng12 -I/usr/include/pango-1.0
> -I/usr/include/harfbuzz -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/
> usr/include/freetype2 -I/usr/local/include -g -O2 -U_FORTIFY_SOURCE
> -D_FORTIFY_SOURCE=1
> Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0
> -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0
> -lgio-2.0 -lpangoft2-1.0 -lpango
> -1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE
> -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -lselinux
> -ldl -L/usr/lib/python2.7/config-
> x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker
> -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
>

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