Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.42 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.42 KB

coc-cucumber

fork from a cucumber/vscode

Cucumber extension for coc.nvim

coc-cucumber-demo

Install

vim-plug:

Plug 'Gee19/coc-cucumber', {'do': 'yarn install --frozen-lockfile'}

manually

git clone [email protected]:Gee19/coc-cucumber.git

cd ~/path/to/coc-cucumber

yarn && yarn build

Add the following to your vimrc:

set runtimepath^=~/path/to/coc-cucumber

Filetype related

The "filetype" must be cucumber for this extension to work.

Install "cucumber" related plugin (e.g. tpope/vim-cucumber or sheerun/vim-polyglot).

Quickstart

Add the following to your coc-settings.json:

  "cucumber.enable": true,
  "cucumber.glue": [
    "cypress/integration/**/*.cucumber.ts"
  ],
  "cucumber.features": [
    "cypress/integration/**/*.feature"
  ],

Configuration options

Check the "contributes.configuration" section of package.json.

Thanks

License

MIT


This extension is built with create-coc-extension