Files
zed/crates
José Olórtegui f987ff05fd Improve JSDoc injection in comments (#10800)
This PR improves JSDoc injection for syntax highlighting. Now we are
only injecting JSDoc in block comments. The regex was mostly adapted
from nvim-treesitter's implementation (lua) to a rust regex.


eb93c3b2fb/queries/ecma/injections.scm (L1-L6)

**Before:**
<img width="441" alt="Screenshot 2024-04-20 at 5 51 04 AM"
src="https://github.com/zed-industries/zed/assets/20072509/8e77851d-22ad-4dc4-8e10-9ac558d3cf40">

**After:**
<img width="441" alt="Screenshot 2024-04-20 at 5 52 05 AM"
src="https://github.com/zed-industries/zed/assets/20072509/a607c219-6973-40c3-958c-44a003d008c3">

Release Notes:

- Changed detection of JSDoc to only do syntax highlighting in block
comments. Improved previous work done in #7826.
2024-05-03 11:43:10 +02:00
..
2024-04-30 16:09:43 -06:00
2024-04-23 15:33:09 -06:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-04-30 16:09:43 -06:00
2024-04-26 13:25:25 -06:00
2024-04-30 23:31:59 -06:00
2024-03-20 15:52:02 +01:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-04-26 13:25:25 -06:00
2024-04-29 16:37:37 -04:00
2024-03-14 17:05:07 -04:00
2024-04-11 23:09:12 +02:00
2024-04-29 16:37:37 -04:00
2024-05-01 14:28:52 -04:00
2024-04-15 14:21:52 +02:00