Skip to content

add highlighting for auth:*** #8

@KoljaL

Description

@KoljaL

In VSCode there is no highlighting for the auth: elements.

See auth: bearer in the image:

grafik

I tried to figure out, how to add this, but this is not enough:

"auth-basic-block": {
    "name": "meta.auth-basic.bruno",
    "begin": "^auth\\:basic\\s*\\{",
    "end": "^\\}\\s*",
    "beginCaptures": {
        "0": {
            "name": "keyword.bruno"
        }
    },
    "patterns": [{ "include": "#dictionary" }]
},

It just matches (auth:baerer)the outer part and the inner part stays white, because there is no value (password).

Thanks for Brunoand this extension :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions