Wednesday, August 27, 2014

runtimepath/syntax dir question

hi,

i'm trying to build a portable static vim. compiling statically works
alright, now i'm looking for a portable place to put the runtime files
(those installed by "make install" into $PREFIX/share/). when i put
$PREFIX/share/vim/vim74/ into $HOME/.vim/ and move $PREFIX/share/ out of
the way (won't be there on other computers) the following happens:

.) vim correctly finds things in $HOME/.vim/plugin/ (according to strace)
.) when i want to use syntax highlighting vim complains about not
finding $PREFIX/share/vim/syntax/syntax.vim. that file is not there even
when i restore $PREFIX/share/! when i restore $PREFIX/share (containing
"vim/vim74") vim uses $PREFIX/share/vim/vim74/syntax/syntax.vim without
looking for $PREFIX/share/vim/syntax/syntax.vim. my expected behaviour
was vim using $HOME/.vim/syntax/

configure command was:

./configure --prefix=$PREFIX --disable-nls --without-x --enable-gui=no
--disable-gpm --with-features=big

system is ubuntu 14.04

no $HOME/.vimrc or system config/runtime files involved

thx for help
matthias


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