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