Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 134 forks source link

include_complete #96

Closed a-sk closed 13 years ago

a-sk commented 13 years ago

Hi, whenever i start my vim, on first attempt of competion using Neocomplcache, i started to get this error:

function <SNR>121_on_moved_i..neocomplcache#do_auto_complete..neocomplcache#get_complete_result..174..169..<SNR>127_check_buffer..<SNR>127_initialize_include.. neocomplcache#cache#async_load_from_tags..<SNR>154_async_load..vimproc#system_bg..vimproc#popen3..<SNR>78_popen..<SNR>78_convert_args..vimproc#get_command_name , line 97 vimproc#get_command_name: File "vim" is not found. Error occured in plugin's get_keyword_list()! Plugin name is include_complete

It started after i installed vimproc, it doesn't matter which file I'm editing.

vimproc - 2e6126de9eeaf2d3e8df5459cfacadf862185edc neocomplcache - 13d0bf2760ac57615e0f75df8cb436a6ec1f389b

Edit: It also produce this error

Error detected while processing function <SNR>127_check_buffer..<SNR>127_initialize_include
..neocomplcache#cache#async_load_from_tags..<SNR>153_async_load..vimproc#system_bg..vimproc
#popen3..<SNR>78_popen..<SNR>78_convert_args..vimproc#get_command_name:
line   97:
E605: Exception not caught: vimproc#get_command_name: File "vim" is not found.
Error detected while processing function <SNR>127_check_buffer..<SNR>127_initialize_include
..neocomplcache#cache#async_load_from_tags..<SNR>153_async_load:
line    9:
E171: Missing :endif
Error detected while processing function <SNR>127_check_buffer:
line   50:
E171: Missing :endif 
Shougo commented 13 years ago

Hmmmmm.... You installed vim(not gvim)? include_complete uses vim. And search vim(.exe) from $PATH environment.

a-sk commented 13 years ago

Actually I'm using MacVim, so because of it, vim is not in my $PATH thanx for helping. ps: i just added MacVim to my $PATH

Shougo commented 13 years ago

Actually I'm using MacVim

Please check :executable('vim') in your MacVim.