mattn / mattn/webapi-vim

autoload/webapi has to be manually copied over when using nvim and Plug

Open
#43 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
695
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Just installed the plugin with nvim 0.7.2 and Plug has the plugin manager.

I was getting E117: Unknown function: webapi#json#decode until I $ cp -r .vim/plugged/webapi-vim/autoload/webapi/ .vim/autoload/webapi/

It looks like the autoload/ contents aren't autoloaded somehow? I don't know much about vim plugins, but the cp solved the issue. Maybe it's something the plugin could do for itself when installed?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with nvim 0.7.2 and Plug, starting from the autoload/webapi/ contents and the webapi#json#decode entry point. The issue is resolved when the function works after installation without manually copying files into .vim/autoload/webapi/.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.