Skip to content

Unknown function: go#util#Shellescape #15

@edi9999

Description

@edi9999

I get following stacktrace when I open vim in a go file and in insert mode, write :

foo.

(After hitting the dot).

Error detected while processing function pythonx#autoimport[2]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/edgar/.vim/plugged/vim-pythonx/pythonx/px/langs/go/__init__.py", line 368, in autoimport_at_
cursor
    _DefaultAutoimporter.autoimport_at_cursor()
  File "/home/edgar/.vim/plugged/vim-pythonx/pythonx/px/langs/go/autoimport.py", line 127, in autoimport_a
t_cursor
    info = px.langs.go.gocode_get_info(identifier)
  File "/home/edgar/.vim/plugged/vim-pythonx/pythonx/px/langs/go/__init__.py", line 356, in gocode_get_inf
o
    info = vim.eval("px#go#get_info('"+identifier+"')")
  File "/home/edgar/.local/lib/python3.10/site-packages/pynvim/plugin/script_host.py", line 205, in eval
    obj = self.request("vim_eval", expr)
  File "/home/edgar/.local/lib/python3.10/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/home/edgar/.local/lib/python3.10/site-packages/pynvim/msgpack_rpc/session.py", line 102, in reque
st
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim(let):E117: Unknown function: go#util#Shellescape
Press ENTER or type command to continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions