forked from aniani/vim
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.
This commit is contained in:
@@ -56,6 +56,9 @@ else
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let s:keepcpo = &cpo
|
||||||
|
set cpo&vim
|
||||||
|
|
||||||
" The command that starts debugging, e.g. ":Termdebug vim".
|
" The command that starts debugging, e.g. ":Termdebug vim".
|
||||||
" To end type "quit" in the gdb window.
|
" To end type "quit" in the gdb window.
|
||||||
command -nargs=* -complete=file -bang Termdebug call s:StartDebug(<bang>0, <f-args>)
|
command -nargs=* -complete=file -bang Termdebug call s:StartDebug(<bang>0, <f-args>)
|
||||||
@@ -943,3 +946,6 @@ func s:BufUnloaded()
|
|||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
let &cpo = s:keepcpo
|
||||||
|
unlet s:keepcpo
|
||||||
|
@@ -789,6 +789,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
193,
|
||||||
/**/
|
/**/
|
||||||
192,
|
192,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user