Partial auto-complete for deoplete-go
shadyabhi opened this issue · 1 comments
Hi @zchee,
I can't seem to get auto-complete work for Go with deoplete+deoplete-go
on neovim. It was working initially but randomly (or seemingly randomly) stopped working.
Here's the log that I see in nvim. Please note that only 1 match is returned in the log file.
2017-06-17 21:42:37,478 [DEBUG @ async_session.py:_on_response:95] 3852 - received response: None, [b'package main', b'', b'import "fmt"', b'', b'func main() {', b'\tfmt.Println("hello")', b'\tfmt.', b'
}']
2017-06-17 21:42:37,478 [DEBUG @ session.py:response_cb:149] 3852 - response is available for greenlet <greenlet.greenlet object at 0x7febad0813d8>, switching back
2017-06-17 21:42:37,480 [DEBUG @ msgpack_stream.py:send:33] 3852 - sent [0, 61, 'nvim_call_function', ('deoplete#handler#_async_timer_stop', [])]
2017-06-17 21:42:37,480 [DEBUG @ base.py:send:113] 3852 - Sending 'b'\x94\x00=\xb2nvim_call_function\x92\xda\x00"deoplete#handler#_async_timer_stop\x90''
2017-06-17 21:42:37,480 [DEBUG @ session.py:_yielding_request:153] 3852 - yielding from greenlet <greenlet.greenlet object at 0x7febad0813d8> to wait for response
2017-06-17 21:42:37,480 [DEBUG @ msgpack_stream.py:_on_data:54] 3852 - waiting for message...
2017-06-17 21:42:37,480 [DEBUG @ msgpack_stream.py:_on_data:59] 3852 - unpacker needs more data...
2017-06-17 21:42:37,480 [DEBUG @ msgpack_stream.py:_on_data:54] 3852 - waiting for message...
2017-06-17 21:42:37,480 [DEBUG @ msgpack_stream.py:_on_data:56] 3852 - received message: [1, 61, None, 0]
2017-06-17 21:42:37,480 [DEBUG @ async_session.py:_on_response:95] 3852 - received response: None, 0
2017-06-17 21:42:37,480 [DEBUG @ session.py:response_cb:149] 3852 - response is available for greenlet <greenlet.greenlet object at 0x7febad0813d8>, switching back
2017-06-17 21:42:37,481 [DEBUG @ msgpack_stream.py:send:33] 3852 - sent [0, 62, 'nvim_set_var', ('deoplete#_context', {'complete_position': 5, 'event': 'TextChangedI', 'input': '\tfmt.', 'candidates': ${'icase': 1, 'word': 'Println(', 'abbr': 'Println(', 'menu': '[M] '}]})]
Here is what auto-complete looks like in vim:-
I would like to point out that <C-x><C-o>
works just fine. Also, I've another plugin deoplte-jedi
for Python and that also works perfectly. Let me know if you're familiar with this problem.
Please let me know if you need any more debug information. This is how my configs looks like:- https://github.com/shadyabhi/dotfiles/blob/master/.config/nvim/plugin-settings.d/deoplete.vim
Nevermind, it started working again. :/ . Let's close it this time.