diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-09-08 16:35:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 07:35:40 -0700 |
commit | 11289ad733e7b3f72ee583ccbfe982a78e099c6c (patch) | |
tree | bc2ddad9c6fd56563191191114fba998875356de | |
parent | 79cbbd5179d816a64989243cb1ce85b802a2896f (diff) | |
download | rneovim-11289ad733e7b3f72ee583ccbfe982a78e099c6c.tar.gz rneovim-11289ad733e7b3f72ee583ccbfe982a78e099c6c.tar.bz2 rneovim-11289ad733e7b3f72ee583ccbfe982a78e099c6c.zip |
fix(termdebug): replace term_getline with getbufline #15598
Correct incomplete runtime file port in
https://github.com/neovim/neovim/commit/79cbbd5179d816a64989243cb1ce85b802a2896f
-rw-r--r-- | runtime/pack/dist/opt/termdebug/plugin/termdebug.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim index 3e02c97228..2914e2bc4d 100644 --- a/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim +++ b/runtime/pack/dist/opt/termdebug/plugin/termdebug.vim @@ -263,7 +263,7 @@ func s:StartDebug_term(dict) endif for lnum in range(1, 200) - if term_getline(s:gdbbuf, lnum) =~ 'startupdone' + if get(getbufline(s:gdbbuf, lnum), 0, '') =~ 'startupdone' let try_count = 9999 break endif |