tpope / vim-cucumber

Vim Cucumber runtime files

Home Page:http://www.vim.org/scripts/script.php?script_id=2973

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strictly ruby specific? No matching steps

Gee19 opened this issue · comments

I've been trying to get this to work in a larger python/JS/TS project and have had 0 luck configuring it to find matching steps. I scanned the repo and only saw one spot where it was searching for .rb files. I've even tried some of the forks/PR's people have created for configuring paths via env vars and preferring vimscript and falling back to ruby.

Could it be the way some of the regex's are defined that are ruby specific?

All our step files follow the usual paths:
/cypress/integration/**/*.cucumber.ts

I've combined a few of the relevant commits in my fork here:
https://github.com/Gee19/vim-cucumber

Actually this PR answered my questions:
#37