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

airline breaks completion preview menu #78

Closed
jamescasbon opened this issue Jul 17, 2013 · 12 comments
Closed

airline breaks completion preview menu #78

jamescasbon opened this issue Jul 17, 2013 · 12 comments

Comments

@jamescasbon
Copy link

The same problem with powerline as well... powerline/powerline#286

@bling
Copy link
Member

bling commented Jul 17, 2013

seems to work fine over here. can you try set splitbelow and see if that makes a difference? failing that, add let g:airline_exclude_preview=1 to your vimrc.

@jamescasbon
Copy link
Author

Neither splitbelow or airline_exclude_preview help.

I had to use let g:jedi#auto_vim_configuration = 0 with completeopt-=preview

How can I get a preview easily in non python to test if it is jedi's fault?

@bling
Copy link
Member

bling commented Jul 17, 2013

this depends on a variety of factors....whether you're using YCM, neocomplete, neocomplcache, supertab, etc. maybe try python-mode with rope instead of jedi?

@bling
Copy link
Member

bling commented Jul 17, 2013

and also worth checking if it's just vim bug...try setting the statusline to a long string and see if it gets overwritten.

@jamescasbon
Copy link
Author

long statusline does not reproduce bug with airline disabled.

same problem occurs with python-mode.

@bling
Copy link
Member

bling commented Jul 18, 2013

i just pulled your vimrc from your profile and i can't repro. can you give me more detailed steps? what version of vim you're using, what hot keys you're using, etc.

@jamescasbon
Copy link
Author

Looks like it might be the ubuntu vim powerline/powerline#523

That's what I am using right now.

@jamescasbon
Copy link
Author

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Apr  2 2013 09:18:18)
Included patches: 1-547
Modified by [email protected]
Compiled by buildd@
Huge version with GTK2 GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff 
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi 
+file_in_path +find_in_path +float +folding -footer +fork() +gettext 
-hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall 
+linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname 
+mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm 
-mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme 
+netbeans_intg +path_extra +perl +persistent_undo +postscript +printer +profile
 +python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs 
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary 
+tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects +title
 +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo 
+vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim 
+xsmp_interact +xterm_clipboard -xterm_save 
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/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/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz     -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/usr/include/tcl8.5  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_LARGEFILE64_SOURCE=1  
Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic -Wl,-export-dynamic  -Wl,-E  -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.1  -Wl,-E  -fstack-protector -L/usr/local/lib  -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl  -lutil -lm  -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/x86_64-linux-gnu -ltcl8.5 -ldl -lpthread -lieee -lm -lruby-1.9.1 -lpthread -lrt -ldl -lcrypt -lm  -L/usr/lib   

@bling
Copy link
Member

bling commented Jul 18, 2013

assuming you're on ubuntu raring, you're running vim with patches up to 547, which is over a year old. try the 7.4 beta that was just released.

@bling
Copy link
Member

bling commented Jul 18, 2013

i was able to reproduce on vim-429. i'm pretty sure this was fixed within vim some time ago. try the latest version and let me know if it still persists.

@jamescasbon
Copy link
Author

Thanks, fixed in 918 that I got from this PPA:
https://launchpad.net/~nmi/+archive/vim-snapshots

Maybe add a warning or something?

@bling
Copy link
Member

bling commented Jul 18, 2013

added entry into the faq.

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

No branches or pull requests

2 participants