PLDaily / coc-picgo

PicGo extension for coc.nvim, forked from vs-picgo
MIT License
11 stars 1 forks source link

怎么配置 #4

Closed ayuayue closed 3 years ago

ayuayue commented 3 years ago

用了一下,默认是sm的图床,怎么改自己的图床的配置呢,~/.config/picgo/data.json是存在的

ayuayue commented 3 years ago

查看到生成到~/.pigco/config.json里去了,在cocconfig中配置好就可以了,加入了一下代码

"picgo.picBed.current": "github",
  "picgo.picBed.github.repo": "",
  "picgo.picBed.github.path": "",
  "picgo.picBed.github.token": "",
  "picgo.picBed.github.branch": "",
  "picgo.picBed.github.customUrl": ""