Skip to content

Add possibility to define custom highlighter #6

@vladshcherbin

Description

@vladshcherbin

👋

Hey, in a similar library I've used a feature where you could define your custom highlighter with regex and color, something like this:

own: {
  duration: {
    regexp: /^(?:(?! \|).)*/,
    color: 'magenta'
  }
}

It gives possibility to color custom parts of query, for example if it includes query duration.

Would be nice to have something similar here later if possible :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions