create-coc-extension
v0.8.0
Published
Create a coc extension quickly π
Readme
create-coc-extension
Create a coc extension quickly π
Usage
npx
npx create-coc-extension [extension-name]npm
npm init coc-extension [extension-name]then cd to your extension root:
npm installnpm run build
Example
cd ~/src
npx 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 && npm i
then "set runtimepath^=/Users/fannheyward/src/coc-test" in vimrc/init.vim, and you will see "[coc.nvim] coc-test works!" notification.:CocCommand coc-test.Commandfor commandcoc-test.enabledfor configurationTestCompletionItemfor completion
LICENSE
MIT
