config: add url.style=none|single|double|curly|dotted|dashed

This option allows you to configure which underline style to use with
URLs.

The default is dotted. Since before this patch, URL underlines were
always plain underlines, this means the default URL underline style
has changed, from single to dotted.

Closes #2302
This commit is contained in:
Daniel Eklöf 2026-04-06 15:47:26 +02:00
parent ecf3b864e4
commit 2c454a71f1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 50 additions and 11 deletions

View file

@ -867,6 +867,14 @@ section.
Default: _url-mode_
*style*
The underline style to use when rendering URL underlines. This
applies to both OSC-8 underlines when *osc8-underline=always*, and
all detected URLs in URL mode. One of *none*, *single*, *double*,
*curly*, *dotted* or *dashed*.
Default: _dotted_
*label-letters*
String of characters to use when generating key sequences for URL
jump labels.