Heyward Fann, aka fannheyward, a developer based in Beijing, China.
fannheyward / coc-marketplace Goto Github PK
View Code? Open in Web Editor NEWcoc.nvim extensions marketplace
License: MIT License
coc.nvim extensions marketplace
License: MIT License
Hi there.
I use marketplace at home okay but in the office all I get is this:
It never expands to the full list of extensions and searches don't work. The only difference is at work I have a proxy configured. I can get the same result at home when blocking registry.npmjs.com
on the firewall.
Currently you're using fetch
:
const resp = (await fetch(uri)) as any;
After quick search I'd propose to use fetch-with-proxy
which seems to respect system settings and environment variables (example from the website, I don't code in TypeScript):
import fetch from 'fetch-with-proxy';
// ...
fetch(uri)
.then((response) => response.text());
.then(console.log)
.catch(console.error)
Got below error when using a proxy
2019-08-05T09:47:47.574 ERROR (pid:15235) [list-manager] - { Error: write EPROTO 4401731008:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:252:
coc-settings.json:
{
"http.proxy": "proxyserver:8000",
"http.proxyStrictSSL": false
}
[coc.nvim] Error on "CocList marketplace": write EPROTO 4548101568:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:252:
I'm using a proxy.
I'm trying to use minpac to install coc.nvim extensions.
Right now I'm doing this . . . (Note that this a much shorter than the actual)
call minpac#add('neoclide/coc.nvim', {'branch': 'release'})
call minpac#add('fannheyward/coc-marketplace', {'do': 'silent !yarn install --frozen-lockfile'})
call minpac#add('neoclide/coc-git', {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-tsserver', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-html', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-json', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
if executable('ra_lsp_server')
call minpac#add('fannheyward/coc-rust-analyzer', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
elseif executable('rls')
call minpac#add('neoclide/coc-rls', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
endif
I have installed the extensions as the wik says here and minpac told me it's installed but I unable to run :CocList marketplace
.
Running :CocList extensions
it show me all off my extensions that should be loaded followed by [RTP], then version, then their path. coc-marketplace loads as enabled.
If you have mappings for this, I was unable to find them even in the code. The
ability to both view details of and uninstall or deactivate extensions from the
marketplace plugin would make it far more useful. Right now, the only thing I
know how to do with this plugin is install extensions. Every action I take
after that, just installs them again.
I see where the actions have been added
but no mappings.
I could spend more time at this point figuring out exactly how to map the
actions through CocList but I just don't much time at all and you probably
already know how.
note: I use marketplace through CocList like so:
nnoremap <silent><nowait> <space>m :<C-u>CocList marketplace<cr>
How to install multiple plug-ins once?
For example coclist marketplace python
will show coc-python*
The user will probably assume coc-python* is the better extension (instead of coc-pyright) because of the star, but coc-python is archived.
Hi, Does marketplace have persistent mode like install or uninstall extension without closing the scratch window?
Provider a option to change the following api or use coc.nvim:registry
https://github.com/fannheyward/coc-marketplace/blob/master/src/marketplace.ts#L87
First, thanks for the great plugin!
I am the maintainer of coc-fzf and I was wondering:
The goal here is to be able to do :CocInstall coc-fzf
.
See: antoinemadec/coc-fzf#28
Thanks,
Antoine
使用了下,报错了,用了 .finally 语句,请考虑支持下 Node 8,tsconfig.json 编译目标降低下 ~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.