machakann / vim-sandwich

Set of operators and textobjects to search/select/edit sandwiched texts.
1.44k stars 37 forks source link

fix: don't override existing highlight w/ default #125

Closed Iron-E closed 3 years ago

Iron-E commented 3 years ago

highlight! default overrides the existing highlight in order to set a default link. So any highlight group that exists before will be wiped over.

To fix this I have changed highlight! default to highlight default, which only sets the highlight group if it wasn't already defined.

machakann commented 3 years ago

Thanks!