completor.vim
completor.vim copied to clipboard
how to speed first time autocompletion up for anaconda python?
hi,
Thanks a lot for this wonderful plugin.
i am using vim8 and coding on anaconda python with a lot of python packages installed in it.
i have made the following settings
let g:completor_python_binary = '/home/vimal/anaconda2/bin/python'
let g:completor_completion_delay = 10
let g:completor_auto_close_doc = 0
with these settings i am able to do autocompletion for numpy and matplotlib, but it takes quite some time to start first time.
numpy completion starts first time in 17 seconds
matlibplot.pyplot takes about 30+ seconds to get started
is there something wrong in my vim setup? or environment? i tied setting PYTHONPATH , but it made no difference.
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 23 2017 01:19:23)
Included patches: 1-752
Compiled by vimal@PDP-11
Huge version without GUI. Features included (+) or not (-):
+acl +clipboard +dialog_con +file_in_path +job -lua +mouse_sgr +path_extra +rightleft +tag_old_static -toolbar +windows
+arabic +cmdline_compl +diff +find_in_path +jumplist +menu -mouse_sysmouse +perl +ruby -tag_any_white +user_commands +writebackup
+autocmd +cmdline_hist +digraphs +float +keymap +mksession +mouse_urxvt +persistent_undo +scrollbind -tcl +vertsplit +X11
-balloon_eval +cmdline_info -dnd +folding +lambda +modify_fname +mouse_xterm +postscript +signs +termguicolors +virtualedit +xfontset
-browse +comments -ebcdic -footer +langmap +mouse +multi_byte +printer +smartindent -terminal +visual -xim
++builtin_terms +conceal +emacs_tags +fork() +libcall -mouseshape +multi_lang +profile +startuptime +terminfo +visualextra +xpm
+byte_offset +cryptv +eval +gettext +linebreak +mouse_dec -mzscheme +python +statusline +termresponse +viminfo +xsmp_interact
+channel +cscope +ex_extra -hangul_input +lispindent -mouse_gpm +netbeans_intg -python3 -sun_workshop +textobjects +vreplace +xterm_clipboard
+cindent +cursorbind +extra_search +iconv +listcmds -mouse_jsbterm +num64 +quickfix +syntax +timers +wildignore -xterm_save
+clientserver +cursorshape +farsi +insert_expand +localmap +mouse_netterm +packages +reltime +tag_binary +title +wildmenu
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXpm -lXt -lX11 -lXdmcp
-lSM -lICE -lm -ltinfo -lnsl -ldl -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config -lpython2
.7 -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm