#66200
Helix: mm not working inside JSX object literal
Reproduction steps
function MyComponent() {
return <div style={{ border: "1px solid red"}} />
}- Open the snippet above in a
.tsxbuffer with Helix mode enabled - Place the cursor on
solid(inside the string) and pressm m - Place the cursor on
border(inside the inner{ }but outside the string) and pressm m
Current vs. Expected behavior
Current behavior:
In both cases nothing happens. The cursor does not move to the " when the string is the closest pair, nor to the matching { / } when the object literal is the closest pair.
Expected behavior:
m m should jump to the matching delimiter of the closest surrounding pair, as it would when the object is not embedded as a literal.
Zed version and system specs
Zed: v1.25.3+stable.382.8dd255c3eafb5231056fe4e6f601cedd011f1c93 (Zed) OS: macOS 27.0.1 Memory: 32 GiB Architecture: aarch64
Attach Zed log file
Zed.log
undefinedRelevant Zed settings
settings.json
undefinedRelevant Keymap
keymap.json
undefined(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Activity
0No activity yet.