helix icon indicating copy to clipboard operation
helix copied to clipboard

Add gherkin syntax highlighting

Open SamyAB opened this issue 1 year ago • 3 comments

Add tree-sitter grammar and highlights for the gherkin language aka .feature files.

This is what it looks like with the dracula theme: gherkin_in_helix

This was requested in https://github.com/helix-editor/helix/issues/3115 but it does not completely solve the issue as this PR does not add the LSP support.

SamyAB avatar Jul 03 '24 20:07 SamyAB

Could you add a license to tree-sitter-gherkin? That will make packaging easier for downstream distributions like Fedora

the-mikedavis avatar Jul 03 '24 20:07 the-mikedavis

@the-mikedavis I'll do it this evening!

SamyAB avatar Jul 04 '24 09:07 SamyAB

@the-mikedavis license added, and languages.toml updated to make the source.rev of the grammar point to the commit with the license

SamyAB avatar Jul 04 '24 17:07 SamyAB

Can you rebase the PR? Looks like the CI was broken at that point in time

archseer avatar Jul 30 '24 21:07 archseer

@archseer rebase done

SamyAB avatar Jul 31 '24 19:07 SamyAB