zed icon indicating copy to clipboard operation
zed copied to clipboard

restarting Zed with a .erb file and the .erb file loses syntax highlighting

Open sweetppro opened this issue 2 years ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

when closing Zed while a .erb file is open, and then restarting - the .erb file will lose its syntax highlighting. The highlighting can be restored by redefining the file as a .erb file.

here are my custom settings for .erb files

"language_overrides": {
"ERB": {
      "formatter": {
        "external": {
          "command": "htmlbeautifier",
          "arguments": []
        }
      }
    }
}

Environment

Zed: v0.124.7 (Zed) OS: macOS 14.3.1 Memory: 24 GiB Architecture: aarch64

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 issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

sweetppro avatar Feb 29 '24 05:02 sweetppro