Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with Valloric/YouCompleteMe #96

Closed
josephcc opened this issue Aug 16, 2014 · 9 comments
Closed

Conflict with Valloric/YouCompleteMe #96

josephcc opened this issue Aug 16, 2014 · 9 comments

Comments

@josephcc
Copy link

VimR won't run when Valloric/YouCompleteMe is install.

@qvacua qvacua added the bug label Aug 16, 2014
@qvacua
Copy link
Owner

qvacua commented Aug 16, 2014

I don't yet know the plugin, but I will try it and give feedback.

@fdinoff
Copy link

fdinoff commented Aug 16, 2014

Someone on reddit says it works for them (http://www.reddit.com/r/vim/comments/2dq5o1/vimr_refined_vim_experience_for_os_x/cjs6pjn). I can't get it to work with YCM enabled. I'm thinking the reason is that I compiled YouCompleteMe against a different version of python (i.e. Macports vs pre installed) which is causing it to choke.

@apaleslimghost
Copy link
Contributor

Working for me here.

screenshot 2014-08-18 17 29 10

@gglanzani
Copy link

Works for me as well.

@jpotterm
Copy link

Broken with YCM for me too. Using OS 10.10.

@ldong
Copy link

ldong commented Nov 3, 2015

Neither works for me.
OSX: 10.10.5
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 3 2015 13:29:26)

MacOS X (unix) version
Included patches: 1-903
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   +perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      +lua             +rightleft       +windows
+diff            +menu            +ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -F/usr/local/Frameworks -DMACOS_X_UNIX  -Os -w -pipe -march=native -mmacosx-version-min=10.10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: /usr/bin/clang   -L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -o vim        -lm  -lncurses -liconv -framework Cocoa  -pagezero_size 10000 -image_base 100000000 -L/usr/local/lib -lluajit-5.1 -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -F/usr/local/Cellar/python/2.7.10_2/Frameworks -framework Python   -lruby.2.2.0 -lobjc -L/usr/local/Cellar/ruby/2.2.3/lib    

@ldong
Copy link

ldong commented Nov 3, 2015

BTW, I changed to neocomplete seems to work fine for me. Along with SuperTab for triggering autocomplete.

@jeffnuss
Copy link

Just leaving my experience in the hope that it will help someone else out. Related to what @fdinoff was saying, I used homebrew to install python, but VimR uses the OS X system python, so when I initially compiled YouCompleteMe, it used my homebrew python.

I ran brew unlink python to make sure YouCompleteMe would use the system python when it was compiled and then recompiled YouCompleteMe. After that, VimR ran fine and YouCompleteMe is also working.

Originally, I ran brew link python to go back to using homebrew's python, but upon restarting VimR, python crashed as YouCompleteMe was using the homebrew python again

In order to get around this, I added the following to my .vimrc to specify which python the YouCompleteMe server should use (the system one in my case; you may need to specify a different path):
let g:ycm_path_to_python_interpreter = '/usr/bin/python'

@m-rios
Copy link

m-rios commented Sep 26, 2017

Perhaps a bit late, but this did the trick for me:
pip3 install --upgrade neovim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants