config: add url.protocols

This makes the protocols recognized by auto-detected URLs
configurable.

Closes #531
This commit is contained in:
Daniel Eklöf 2021-05-20 17:58:06 +02:00
parent 0f483d65ce
commit 53516aceec
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 85 additions and 19 deletions

View file

@ -135,6 +135,9 @@ struct config {
OSC8_UNDERLINE_ALWAYS,
} osc8_underline;
wchar_t **protocols;
size_t prot_count;
size_t max_prot_len;
} url;
struct {