Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨feat(reformat-gherkin): added gherkin formatter (cucumber). #123

Closed
wants to merge 2 commits into from

Conversation

Zeioth
Copy link

@Zeioth Zeioth commented May 10, 2024

aka .feature files.

How to test

  • Clone this branch.
  • Use mason to install reformat-gherkin (filter by cucumber to find it).
  • Open a .feature file (examples here)
  • If you are using mason-null-ls.nvim, you should see the formatter correctly loaded (botton-right on the image). If not, you can load it manually.
    screenshot_2024-05-10_16-56-37_347294487

Now you can format the code!

More info

  • Cucumber is a QA tool.
  • Gherkin is the name of the language used by cucumber.
  • Gherkin files have the .feature extension.
  • Neovim assign the filetype cucumber to .feature files.
  • As this is likely to be a mistake, we also support the gherkin filetype.

@Zeioth Zeioth mentioned this pull request May 10, 2024
1 task
mochaaP added a commit to nvimtools/none-ls-extras.nvim that referenced this pull request May 10, 2024
@mochaaP
Copy link
Member

mochaaP commented May 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants