Skip to content

Cannot follow an in-file link to a headline with colon in title #766

@seflue

Description

@seflue

Describe the bug

When a headline includes a colon, the minimal example (see below) gives the error message:

Unsupported link protocol: "*Example"

Steps to reproduce

Copy the minimal example into an agenda file and try to follow the link:

* Example: a headline with colon

* another headline
- Opening [[*Example: a headline with colon][this link]] will not work
- Opening [[id:11:22][that link]] works

* Headline with ID
:PROPERTIES:
:ID: 11:22
:END:

Expected behavior

Following the link should jump to the expected headline.

Emacs functionality

Not tried, but if it doesn't work in emacs, I consider this also a bug.
Internal links to headlines with colons are supported in Emacs Org Mode.

Minimal init.lua

Not relevant for reproducing the bug.

Screenshots and recordings

No response

OS / Distro

Manjaro Linux

Neovim version/commit

0.10

Additional context

I would tackle the bug on my own as soon as I have time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions