On Di, 17 Jul 2018, Bram Moolenaar wrote:
>
> Dominique wrote:
>
> > In my ~/.vimrc, I have this line:
> >
> > set cpoptions=ces$
> >
> > I noticed that it breaks the buttons in the termdebug plugin.
> >
> > Steps to reproduce:
> >
> > 1) run:
> > $ cd vim/src
> > $ ./vim --clean \
> > -c 'set cpoptions=ces$' \
> > -c 'packadd termdebug' \
> > -c 'Termdebug vim'
> >
> > 2) Press the "Cont" button in the bottom window
> >
> > 3) observe that the "continuer" command is sent to
> > the gdb terminal window (top window). It should
> > instead send "continue\r".
> >
> > Now, I don't remember why I have "set cpoptions=ces$"
> > in my ~/.vimrc. But probably, it should not break the
> > "Cont" button of the termdebug plugin.
>
> Have you tried finding which missing flag matters?
Missing 'B'. How about this doc patch:
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c895bf0db..b7b17da93 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2107,10 +2107,11 @@ A jump table for the options with a short description can be found at |Q_op|.
See also |map_bar|.
*cpo-B*
B A backslash has no special meaning in mappings,
- abbreviations and the "to" part of the menu commands.
- Remove this flag to be able to use a backslash like a
- CTRL-V. For example, the command ":map X \<Esc>"
- results in X being mapped to:
+ abbreviations, commands and the "to" part of the
+ |:menu| commands. Remove this flag to be able to use
+ a backslash like a CTRL-V. For example, the command >
+ :map X \<Esc>
+< results in X being mapped to:
'B' included: "\^[" (^[ is a real <Esc>)
'B' excluded: "<Esc>" (5 characters)
('<' excluded in both cases)
Best,
Christian
--
So wie das Ohr Verhältnisse mißt, so berechnet vielleicht die Zunge
Flächen von Körpern.
-- Georg Christoph Lichtenberg