create-coc-extension

0.8.0Β β€’Β PublicΒ β€’Β Published

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 install
  • npm 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: fannheyward@gmail.com

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.
  1. :CocCommand coc-test.Command for command
  2. coc-test.enabled for configuration
  3. TestCompletionItem for completion

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i create-coc-extension

Weekly Downloads

2

Version

0.8.0

License

MIT

Unpacked Size

1.04 MB

Total Files

12

Last publish

Collaborators

  • fannheyward