[opensuse-packaging] Vim with YouCompleteMe Plugin
Hi, Have any of you tried to use VIM in openSUSE with YouCompleteMe plugin https://github.com/Valloric/YouCompleteMe ? There is no .vim file available as the plugin requires some kind of compilation. I am not too keen on doing the compilation as the build process seem to be too complicated (with something like bundles, and no clear list of dependent packages, too many dependent plugins (required syntastic which in turn needs pathogen) etc.). So wanted to check if someone has a binary that I can use. I searched in the OBS repos but could not find it there. So wanted to ask here instead of trying to continue with SublimeText. Thanks. -- Sankar P http://psankar.blogspot.com -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi,
Have any of you tried to use VIM in openSUSE with YouCompleteMe plugin https://github.com/Valloric/YouCompleteMe ?
There is no .vim file available as the plugin requires some kind of compilation.
I am not too keen on doing the compilation as the build process seem to be too complicated (with something like bundles, and no clear list of dependent packages, too many dependent plugins (required syntastic which in turn needs pathogen) etc.). So wanted to check if someone has a binary that I can use. I searched in the OBS repos but could not find it there. So wanted to ask here instead of trying to continue with SublimeText.
Thanks.
Okay. The vim bundle thing was not very difficult. I was able to get it working (except for C semantic support which requries LLVM 3.3 which is not yet in openSUSE) The steps (for anyone referring in future) are: psankar@linux-9dni:~/Downloads> mkdir -p ~/.vim/autoload ~/.vim/bundle; psankar@linux-9dni:~/Downloads> curl -so ~/.vim/autoload/pathogen.vim \
https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
psankar@linux-9dni:~/Downloads> vi ~/.vimrc psankar@linux-9dni:~/Downloads> cd ~/.vim/bundle psankar@linux-9dni:~/.vim/bundle> git clone https://github.com/scrooloose/syntastic.git Cloning into 'syntastic'... remote: Counting objects: 6912, done. remote: Compressing objects: 100% (3582/3582), done. remote: Total 6912 (delta 3406), reused 6181 (delta 2725) Receiving objects: 100% (6912/6912), 1.70 MiB | 368 KiB/s, done. Resolving deltas: 100% (3406/3406), done. psankar@linux-9dni:~/.vim/bundle> vi psankar@linux-9dni:~/.vim/bundle> ls syntastic psankar@linux-9dni:~/.vim/bundle> git clone https://github.com/Valloric/YouCompleteMe.git Cloning into 'YouCompleteMe'... remote: Counting objects: 25171, done. remote: Compressing objects: 100% (18277/18277), done. remote: Total 25171 (delta 6611), reused 24758 (delta 6230) Receiving objects: 100% (25171/25171), 26.55 MiB | 3.74 MiB/s, done. Resolving deltas: 100% (6611/6611), done. psankar@linux-9dni:~/.vim/bundle> mkdir ~/ycm_build psankar@linux-9dni:~/.vim/bundle> cd ~/ycm_build psankar@linux-9dni:~/ycm_build> cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp -- The C compiler identification is GNU 4.7.2 -- The CXX compiler identification is GNU 4.7.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done Your C++ compiler supports C++11, compiling in that mode. -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.3", minimum required is "2.5") NOT using libclang, no semantic completion for C/C++/ObjC will be available -- Found PythonInterp: /usr/bin/python (found version "2.7.3") -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/psankar/ycm_build psankar@linux-9dni:~/ycm_build> make ycm_core That's all. HTH Sankar -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (1)
-
Sankar P