-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Copy link
Labels
area:languages/pythonPython programming language supportPython programming language supportfrequency:alwaysBug that happens for everyone on every platform no matter how they use ZedBug that happens for everyone on every platform no matter how they use Zedpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Description
Reproduction steps
- Open a python file
- Type
cmd = "SELECT col1, col2 FROM tbl" - Add
#sqlabove (see sql highlighting) - Remove
#sql, notice highlighting sticks - Only way to kill the lighting is to move line up / down
Screen.Recording.2026-01-05.at.3.18.08.PM.mov
Current vs. Expected behavior
Current behavior: SQL highlighting is not removed as sql comment is removed
Expected: I expect the injected SQL highlighting to disappear as the comment is removed.
Zed version and system specs
Zed: v0.219.0+nightly.2060.93c447e874d1e6a669086c7c50c179fdef67faa0 (Zed Nightly 93c447e)
OS: macOS 26.1
Memory: 64 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:languages/pythonPython programming language supportPython programming language supportfrequency:alwaysBug that happens for everyone on every platform no matter how they use ZedBug that happens for everyone on every platform no matter how they use Zedpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce