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

Allow Vim language specification for code block beginning #552

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

gemmaro
Copy link
Contributor

@gemmaro gemmaro commented Feb 14, 2025

This introduces the following changes:

  • In lib/Locale/Po4a/VimHelp.pm, I've added support for an optional Vim language specification (>vim followed by a line end) for the beginning of code blocks, in addition to the existing >.
  • A test case has been added in t/fmt/vimhelp/.

This change address the issue mentioned in #551#issuecomment-2658371460.

@gemmaro
Copy link
Contributor Author

gemmaro commented Feb 14, 2025

The failing test in the CI might be resolved by another pull request, #553.

* lib/Locale/Po4a/VimHelp.pm: Added support for an optional Vim language
specification (">vim" followed by a line end) for the beginning of code
blocks, in addition to the existing ">".
* t/fmt/vimhelp/basic.norm:, t/fmt/vimhelp/basic.po, t/fmt/vimhelp/basic.pot,
t/fmt/vimhelp/basic.trans, t/fmt/vimhelp/basic.txt: Add a test case.
@mquinson mquinson merged commit 11b6dac into mquinson:master Feb 15, 2025
1 check passed
@gemmaro gemmaro deleted the fix/vimhelp branch February 15, 2025 12:07
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