Skip to content

Conversation

aymanbagabas
Copy link
Member

This adds support for setting the underline style and color. The underline style can be set to single, double, curly, dotted, or dashed. The color of the underline can be set to any color.

See https://sw.kovidgoyal.net/kitty/underlines/

Fixes: #488

@aymanbagabas aymanbagabas force-pushed the v2-underline branch 2 times, most recently from 687d00d to 1b42b6d Compare March 13, 2025 13:34
This adds support for setting the underline style and color. The
underline style can be set to single, double, curly, dotted, or dashed.
The color of the underline can be set to any color.

See https://sw.kovidgoyal.net/kitty/underlines/
@aymanbagabas aymanbagabas changed the title feat: add underline style and color (v2) feat: add underline style and color Mar 26, 2025
@bashbunni bashbunni added this to the v2.0.0 milestone Apr 4, 2025
@bashbunni bashbunni linked an issue Apr 4, 2025 that may be closed by this pull request
@meowgorithm
Copy link
Member

This looks good, though we may want to switch the adjective-noun order on the costs for better completions with LSPs:

// Before
NoUnderline
SingleUnderline
CurlyUnderline

// After
UnderlineNone
UnderlineSingle
UnderlineCurly

On the other hand, we already have NoColor, which works better with NoUnderline versus UnderlineNone, so maybe this is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Colored and styled underlines
6 participants