Skip to content

Throws error after setup. #1

Description

@mhartington

Hi there, so it seems that this throws a lot of errors after setting up.

[deoplete] Traceback (most recent call last):
[deoplete]   File "/Users/mhartington/.config/nvim/.dein/rplugin/python3/deoplete/deoplete.py", line 47, in completion_begin
[deoplete]     complete_position, candidates = self.gather_candidates(context)
[deoplete]   File "/Users/mhartington/.config/nvim/.dein/rplugin/python3/deoplete/deoplete.py", line 81, in gather_candidates
[deoplete]     results = self.gather_results(context)
[deoplete]   File "/Users/mhartington/.config/nvim/.dein/rplugin/python3/deoplete/deoplete.py", line 138, in gather_results
[deoplete]     context['candidates'] = source.gather_candidates(context)
[deoplete]   File "/Users/mhartington/.config/nvim/.dein/rplugin/python3/deoplete/sources/github.py", line 67, in gather_candidates
[deoplete]     base = repo_base(self.vim)
[deoplete]   File "/Users/mhartington/.config/nvim/.dein/rplugin/python3/deoplete/sources/github.py", line 25, in repo_base
[deoplete]     base = repo_homepage(vim)
[deoplete]   File "/Users/mhartington/.config/nvim/.dein/rplugin/python3/deoplete/sources/github.py", line 17, in repo_homepage
[deoplete]     homepage = vim.call('rhubarb#homepage_for_url', repo_url)
[deoplete]   File "/usr/local/lib/python3.5/site-packages/neovim/api/nvim.py", line 213, in call
[deoplete]     return self.request('vim_call_function', name, args, **kwargs)
[deoplete]   File "/usr/local/lib/python3.5/site-packages/neovim/api/nvim.py", line 129, in request
[deoplete]     res = self._session.request(name, *args, **kwargs)
[deoplete]   File "/usr/local/lib/python3.5/site-packages/neovim/msgpack_rpc/session.py", line 98, in request
[deoplete]     raise self.error_wrapper(err)
[deoplete] neovim.api.nvim.NvimError: b'Error calling function.'
[deoplete] An error has occurred. Please execute :messages command.

Basic setup derived from the readme

  let g:deoplete#sources = {}
  let g:deoplete#sources.gitcommit=['github']
  let g:deoplete#keyword_patterns = {}
  let g:deoplete#keyword_patterns.gitcommit = '.+'
  let g:deoplete#omni#input_patterns = {}
  let g:deoplete#omni#input_patterns.gitcommit = '.+'

Minimal init.vim with vim-plug

Plug "shougo/deoplete.nvim"
Plug "SevereOverfl0w/deoplete-github"
call plug#end()


  let g:deoplete#sources = {}
  let g:deoplete#sources.gitcommit=['github']
  let g:deoplete#keyword_patterns = {}
  let g:deoplete#keyword_patterns.gitcommit = '.+'
  let g:deoplete#omni#input_patterns = {}
  let g:deoplete#omni#input_patterns.gitcommit = '.+'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions