Skip to content

help: change wikilinks higlights (and code block icon colors) #205

@petobens

Description

@petobens

Neovim version (nvim -v)

NVIM v0.11.0-dev-959+g4b90952851

Neovim distribution

None

Description

Hi! I'm trying to change wikilink highlights but the following regex fails:

    link = {
        custom = {
            wiki = {
                -- FIXME: Not working
                pattern = '(%[%[[^%]]+%]%])',
                icon = '󰌹 ',
                highlight = 'RenderMarkdownWiki',
            },
        },
    },

Any pointers?

Also is it possible to avoid having colors in code blocks icons? I.e I would like the icon python bit not to be in yellow in the following image:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions