Skip to content

Tildes in s:URLEncode #7

Description

@sedm0784

I haven't actually tested this, so apologies if I'm reading the code wrong, but the character class (or "collection") in your regexp doesn't appear to include the tilde: ~.

~ is an "unreserved character" in URIs and so, according to the RFC,

percent-encoded octet[...] tilde (%7E) should not be created by URI producers.

It doesn't actually affect the functioning of the plugin in any way I'm aware of, other than making the small number of links which contain a tilde (e.g. :help g~) very slightly less readable, but I thought you might like to add it nonetheless.

Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions