Morantron / tmux-fingers

copy pasting in terminal with vimium/vimperator like hints.
MIT License
983 stars 45 forks source link

nounderscore not removing underline #84

Closed novasenco closed 3 years ago

novasenco commented 3 years ago

for example set -g @fingers-highlight-format-nocompact "#[fg=blue,bold](#[fg=colour9,nobold,underscore]%s#[fg=blue,bold,nounderscore])"

The close parenthesis is still underlined.

novasenco commented 3 years ago

Also, "fg=brightred" seems to break. I had to use "fg=colour9" instead

Morantron commented 3 years ago

You can move nounderscore to the beginning of the style and it will work

set -g @fingers-highlight-format-nocompact "#[fg=blue,bold](#[fg=colour9,nobold,underscore]%s#[nounderscore,fg=blue,bold])"

I'll add tests for the upcoming 2.0 release for theses cases in https://github.com/Morantron/tmux-fingers/pull/79