https://bugs.kde.org/show_bug.cgi?id=496534
Bug ID: 496534 Summary: Color of Underline/Undercurl cannot be set within vim Classification: Applications Product: konsole Version: 24.08.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: konsole-de...@kde.org Reporter: terrycc...@gmail.com Target Milestone: --- Created attachment 176000 --> https://bugs.kde.org/attachment.cgi?id=176000&action=edit Example of what the undercurl color looks like in Konsole SUMMARY The color of underline/undercurl as set in vim does not display in Konsole STEPS TO REPRODUCE 1. In a .vimrc file in home directory (cd ~), add the following settings: ``` setlocal spell try | lang en_US | catch | endtry set spelllang=en_us let &t_Cs = "\e[4:3m" let &t_Ce = "\e[4:0m" hi SpellBad term=underline cterm=underline gui=underline ``` then save the file. 2. Open vim, and then type a misspelled word. OBSERVED RESULT We see a red undercurl in other terminals such as: iterm2 and xfce4-terminal:1.1.3, but not in Konsole. The color of the undercurl remains the same color as the text. EXPECTED RESULT The undercurl color should red. SOFTWARE/OS VERSIONS (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: 6.2.0 KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION Konsole clearly could support color undercurls as `echo -e "\e[4:3m\e[58:2::215:58:103mThis text has an undercurl with color\e[4:0m"` works in Konsole. I have no idea why setting color undercurl in vim does not work. This may be a vim specific issue, but it seems that my vim settings above work in other terminals, just not in Konsole, and I cannot figure out why. If it helps, highlighting in vim is defined in https://github.com/vim/vim/blob/master/src/highlight.c. -- You are receiving this mail because: You are watching all bug changes.