Skip to content
Snippets Groups Projects

codemirror blob: Restructure syntax extension to share blob info

Closed Warren Gifford requested to merge fkling/cm-blob-info into main

Created by: fkling

Best reviewed with white-space difference turned off.

This commit refactors the syntax extension to provide a "blob" field that holds the information about the current blob and derives syntax highlighting information from that field via a facet instead.

This way the blob field can be used by other extensions, e.g. for hovercards.

Test plan

Syntax highlighting works as before.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading