diff runtime/autoload/dist/man.vim @ 32949:6e346800670c

Add missing changes
author Christian Brabandt <cb@256bit.org>
date Sun, 20 Aug 2023 22:12:43 +0200
parents 4ae88f9389b4
children 058fa5df3376
line wrap: on
line diff
--- a/runtime/autoload/dist/man.vim
+++ b/runtime/autoload/dist/man.vim
@@ -196,7 +196,7 @@ func dist#man#GetPage(cmdmods, ...)
 
   " Emulate piping the buffer through the "col -b" command.
   " Ref: https://github.com/vim/vim/issues/12301
-  silent! keepjumps keeppatterns %s/(.)\ze?//ge
+  silent! keepjumps keeppatterns %s/\v(.)\b\ze\1?//ge
 
   if unsetwidth
     let $MANWIDTH = ''