MoveToEnclosingBracket
does not work at end of file without a newline
#5080
Labels
bug
[core label]
editor
Feedback for code editing, formatting, editor iterations, etc
good first issue
Issue suitable for first-time contributors
keymap / key binding
Feedback for keyboard shortcuts, key mapping, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
In a json file, the end of the file has has a close
]
. There is no newline at the end of the file. If I place my cursor at the end of the file and run the command, nothing happens. If I add a newline to the end of the file, then place my cursor after the]
, the command works.Environment
Zed 0.67.2 – /Applications/Zed Preview.app
macOS 13.1
architecture arm64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issueNo response
The text was updated successfully, but these errors were encountered: