From ca4cc018addbeb3ac5d0e05f18847015f91ff814 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 17 Jul 2018 05:55:12 +0200 Subject: [PATCH] patch 8.1.0193: terminal debugger buttons don't always work Problem: Terminal debugger buttons don't always work. (Dominique Pelle) Solution: Set 'cpo' to its default value. --- runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 6 ++++++ src/version.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 1bea8f5542..4ccbc4cb66 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -56,6 +56,9 @@ else finish endif +let s:keepcpo = &cpo +set cpo&vim + " The command that starts debugging, e.g. ":Termdebug vim". " To end type "quit" in the gdb window. command -nargs=* -complete=file -bang Termdebug call s:StartDebug(0, ) @@ -943,3 +946,6 @@ func s:BufUnloaded() endif endfor endfunc + +let &cpo = s:keepcpo +unlet s:keepcpo diff --git a/src/version.c b/src/version.c index cb2744d6d0..3c9676e517 100644 --- a/src/version.c +++ b/src/version.c @@ -789,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 193, /**/ 192, /**/