create-coc-extension
Create a coc extension quickly
Usage
yarn
yarn create coc-extension [extension-name]
npx
npx create-coc-extension [extension-name]
npm
npm init coc-extension [extension-name]
then cd to your extension root and yarn
.
yarn clean
yarn build
yarn
to clean & build
Example
cd ~/src
yarn create coc-extension coc-test
? project title: coc-test
? project description: coc-test extension
? author full name: Heyward Fann
? author email address: [email protected]
coc-test is created.
cd /Users/fannheyward/src/coc-test && yarn
then "set runtimepath^=/Users/fannheyward/src/coc-test" in vimrc/init.vim, and you will see "[coc.nvim] coc-test works!" in vim messages.
:CocCommand coc-test.Command
for commandcoc-test.enabled
for configurationTestCompletionItem
for completion
LICENSE
MIT