From 5562e7ae8ea356a8d8dd39fd3c1f2648279e98a5 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Sat, 1 Feb 2025 22:57:50 +0000 Subject: [PATCH] chore: add announcement file for PR --- announce.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 announce.md diff --git a/announce.md b/announce.md new file mode 100644 index 000000000..f1bf70cb9 --- /dev/null +++ b/announce.md @@ -0,0 +1,36 @@ +Previously, if you had a file like this: + +```html +

Some text 1234

+ +``` + +Pressing `Space + c` (toggle comment) on the JavaScript comment would've used the HTML comment token: + +```html +

Some text 1234

+ +``` + +This PR fixes that. Now, the comment token is properly recognized: + +```hmtl +

+ Some text 1234 +

+ +``` + +It works in _all_ languages that properly inject comment tokens. For instance, JSX, Svelte, and others. + +Closes https://github.com/helix-editor/helix/issues/7364 +Closes https://github.com/helix-editor/helix/issues/11647