Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Exception Unknown function: coc#util#jumpTo #426

Closed
oschrenk opened this issue Sep 3, 2021 · 1 comment · Fixed by #427
Closed

Exception Unknown function: coc#util#jumpTo #426

oschrenk opened this issue Sep 3, 2021 · 1 comment · Fixed by #427
Labels
bug Something isn't working

Comments

@oschrenk
Copy link

oschrenk commented Sep 3, 2021

Describe the bug

When trying to execute CocCommand metals.tvp I'm getting

[coc.nvim]: UnhandledRejection: request error nvim_call_function - Vim:E117: Unknown
 function: coc#util#jumpTo
Error
    at ON.request (/Users/oliver/.tilde/dotfiles/.config/nvim/plugged/coc.nvim/build
/index.js:30:34613)
    at ON.call (/Users/oliver/.tilde/dotfiles/.config/nvim/plugged/coc.nvim/build/in
dex.js:33:3671)
    at o.<anonymous> (/Users/oliver/.tilde/dotfiles/.config/nvim/plugged/coc-metals/
lib/index.js:14:2546)
    at Generator.next (<anonymous>)
    at s (/Users/oliver/.tilde/dotfiles/.config/nvim/plugged/coc-metals/lib/index.js
:14:123)

To Reproduce Steps to reproduce the behavior:

  1. Have Scala project
    have:
    vim version: NVIM v0.6.0-dev+nightly-380-gdf33f30e8
    node version: v12.20.2
    coc.nvim version: 0.0.80-3086844413
    coc.nvim directory: /Users/oliver/.tilde/dotfiles/.config/nvim/plugged/coc.nvim
    term: tmux
    platform: darwin

Install coc-metals via

Plug 'scalameta/coc-metals', {'do': 'yarn install --frozen-lockfile'}

Use

nnoremap <silent> <space>t :<C-u>CocCommand metals.tvp<CR> on project

Fail.

Expected behavior

Show tree
Screenshots

n/A

Installation:

vim version: NVIM v0.6.0-dev+nightly-380-gdf33f30e8
node version: v12.20.2
coc.nvim version: 0.0.80-3086844413
coc.nvim directory: /Users/oliver/.tilde/dotfiles/.config/nvim/plugged/coc.nvim
term: tmux
platform: darwin

main branch of coc-metals since I already needed to pull in for #421

Additional context

Search terms

@oschrenk oschrenk added the bug Something isn't working label Sep 3, 2021
@ckipp01
Copy link
Member

ckipp01 commented Sep 4, 2021

Thanks for the report @oschrenk! I shot in a PR that should fix that in #427. Looks like it was removed and replaced with another function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants