tpope / vim-cucumber

Vim Cucumber runtime files
http://www.vim.org/scripts/script.php?script_id=2973
324 stars 63 forks source link

Strictly ruby specific? No matching steps #49

Closed Gee19 closed 3 years ago

Gee19 commented 3 years ago

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

Gee19 commented 3 years ago

Actually this PR answered my questions: https://github.com/tpope/vim-cucumber/pull/37