You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have forked the original unite-cmdmatch in order to get it to work with subcommands completion. I got some level of success. If I type :help un<c-o> I get a Unite source with possible completions for the help command, which the original plugin wasn't capable of doing.
However, for some reason still unknown to me, if I try to get the completions for the Unite command itself, I get an error message.
If I type :Unite c<c-o> I get the following error:
Error detected while processing function <SNR>129_call_unite..unite#start..unite#start#standard..unite#candidates#_recache..unite#init#_candidates_source:
line 3:
E716: Key not present in Dictionary: default_kind, 'is_dummy' : 0, 'is_matched' : 1, 'is_multiline' : 0, 'unite__is_marked' : 0, }
E15: Invalid expression: { 'kind' : source.default_kind, 'is_dummy' : 0, 'is_matched' : 1, 'is_multiline' : 0, 'unite__is_marked' : 0, }
Press ENTER or type command to continue
I suspect that, somehow, Unite is trying to interpret the text it receives as input from the source, as I have only found this behaviour to happen in Unite command itself.
Expected
Unite should be able to complete the list of parameters it receives from the source.
Environment Information
OS: Mac OS X El Captain
Vim version: NVIM 0.1.2-dev
Provide a minimal .vimrc with less than 50 lines (Required!)
" Your minimal .vimrccalldein#add('Shougo/unite.vim')
calldein#add('thalesmello/unite-cmdmatch')
cm<c-o><Plug>(unite_cmdmatch_complete)
The reproduce ways from Vim starting (Required!)
Type in :Unite (notice the space at the end of the command)
Press Ctrl + O
You should get an error message
Screen shot (if possible)
## Upload the log messages by `:redir` and `:message`
:message
Error detected while processing function <SNR>129_call_unite..unite#start..unite#start#standard..unite#candidates#_recache..unite#init#_candidates_source:
line 3:
E716: Key not present in Dictionary: default_kind, 'is_dummy' : 0, 'is_matched' : 1, 'is_multiline' : 0, 'unite__is_marked' : 0, }
E15: Invalid expression: { 'kind' : source.default_kind, 'is_dummy' : 0, 'is_matched' : 1, 'is_multiline' : 0, 'unite__is_marked' : 0, }
Press ENTER or type command to continue
Problems summary
I have forked the original unite-cmdmatch in order to get it to work with subcommands completion. I got some level of success. If I type
:help un<c-o>
I get a Unite source with possible completions for the help command, which the original plugin wasn't capable of doing.However, for some reason still unknown to me, if I try to get the completions for the Unite command itself, I get an error message.
If I type
:Unite c<c-o>
I get the following error:I suspect that, somehow, Unite is trying to interpret the text it receives as input from the source, as I have only found this behaviour to happen in Unite command itself.
Expected
Unite should be able to complete the list of parameters it receives from the source.
Environment Information
Provide a minimal .vimrc with less than 50 lines (Required!)
The reproduce ways from Vim starting (Required!)
:Unite
(notice the space at the end of the command)Ctrl + O
Screen shot (if possible)
## Upload the log messages by `:redir` and `:message`
:message
:redir
The text was updated successfully, but these errors were encountered: